Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 210.3 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2205/0.2205, allocations: 46.96 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.83 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2873, allocations: 66.04 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01103/0.2983, allocations: 9.026 MB / 0.5694 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007725/0.3061, allocations: 3.606 MB / 0.5729 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.3075, allocations: 67.69 kB / 0.573 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003712/0.3112, allocations: 1.904 MB / 0.5749 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004084/0.3153, allocations: 1.677 MB / 0.5765 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.3168, allocations: 0.616 MB / 0.5771 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004453/0.3212, allocations: 3.361 MB / 0.5804 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002846/0.3241, allocations: 2.126 MB / 0.5825 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.3258, allocations: 1.257 MB / 0.5837 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/0.3281, allocations: 1.814 MB / 0.5855 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000489/0.3286, allocations: 256 kB / 0.5857 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.3303, allocations: 0.9361 MB / 0.5866 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.3317, allocations: 1.593 MB / 0.5882 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.3333, allocations: 1.331 MB / 0.5895 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006631/0.3399, allocations: 5.84 MB / 0.5952 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3399, allocations: 0 / 0.5952 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3399, allocations: 0 / 0.5952 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001474/0.3401, allocations: 0 / 0.5952 GB, free: 0.6289 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.007553/0.3477, allocations: 4.046 MB / 0.5991 GB, free: 12.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3477, allocations: 12.03 kB / 0.5991 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008264/0.3485, allocations: 0.6043 MB / 0.5997 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006204/0.3547, allocations: 1.808 MB / 0.6015 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004993/0.3597, allocations: 2.106 MB / 0.6035 GB, free: 7.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.3599, allocations: 197 kB / 0.6037 GB, free: 7.742 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008103/0.3607, allocations: 251.8 kB / 0.604 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/0.3743, allocations: 8.505 MB / 0.6123 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.346e-05/0.3744, allocations: 35.73 kB / 0.6123 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003209/0.3748, allocations: 127.9 kB / 0.6124 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002713/0.3775, allocations: 1.703 MB / 0.6141 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/0.3904, allocations: 7.09 MB / 0.621 GB, free: 5.344 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03955/0.43, allocations: 32.8 MB / 0.6531 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006997/0.437, allocations: 2.727 MB / 0.6557 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001877/0.4389, allocations: 1.357 MB / 0.657 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0066/0.4455, allocations: 3.36 MB / 0.6603 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.4455, allocations: 51.16 kB / 0.6604 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 3.867e-06/0.4455, allocations: 3.938 kB / 0.6604 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.02767/0.4732, allocations: 11.57 MB / 0.6717 GB, free: 300 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.4733, allocations: 170.8 kB / 0.6718 GB, free: 92 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004854/0.4781, allocations: 3.931 MB / 0.6757 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.4783, allocations: 45.7 kB / 0.6757 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002052/0.4803, allocations: 2.866 MB / 0.6785 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005228/0.4809, allocations: 0.5428 MB / 0.6791 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/0.4821, allocations: 1.087 MB / 0.6801 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4823, allocations: 305.1 kB / 0.6804 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002404/0.4847, allocations: 1.701 MB / 0.6821 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005054/0.4897, allocations: 5.144 MB / 0.6871 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008412/0.4981, allocations: 7.413 MB / 0.6943 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.863e-05/0.4982, allocations: 36 kB / 0.6944 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01093/0.5091, allocations: 6.708 MB / 0.7009 GB, free: 14.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.863e-05/0.5092, allocations: 60.62 kB / 0.701 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/0.5093, allocations: 128 kB / 0.7011 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/0.5099, allocations: 324.6 kB / 0.7014 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003618/0.5136, allocations: 1.232 MB / 0.7026 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/0.5162, allocations: 2.382 MB / 0.7049 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/0.5196, allocations: 299.5 kB / 0.7052 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007286/0.5204, allocations: 332 kB / 0.7055 GB, free: 9.965 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002795/0.5232, allocations: 1.795 MB / 0.7073 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006281/0.5238, allocations: 329.7 kB / 0.7076 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004687/0.5285, allocations: 2.363 MB / 0.7099 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/0.5285, allocations: 16 kB / 0.7099 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.5285, allocations: 4 kB / 0.7099 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.5285, allocations: 7.969 kB / 0.7099 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.5401, allocations: 5.636 MB / 0.7154 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.5401, allocations: 3.938 kB / 0.7155 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008075/0.5409, allocations: 171.8 kB / 0.7156 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002076/0.543, allocations: 0.7185 MB / 0.7163 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.757e-05/0.5431, allocations: 27.98 kB / 0.7163 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006119/0.5492, allocations: 4.66 MB / 0.7209 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.5492, allocations: 0 / 0.7209 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006946/0.5561, allocations: 4.354 MB / 0.7251 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009097/0.5571, allocations: 301.7 kB / 0.7254 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.5574, allocations: 16 kB / 0.7254 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.5584, allocations: 79.84 kB / 0.7255 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/0.5586, allocations: 72.52 kB / 0.7256 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/0.5587, allocations: 32.05 kB / 0.7256 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003546/0.5622, allocations: 2.334 MB / 0.7279 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5622, allocations: 0 / 0.7279 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003971/0.5662, allocations: 0.8046 MB / 0.7287 GB, free: 2.031 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2195/0.7857, allocations: 4.969 MB / 0.7335 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004894/0.7905, allocations: 3.893 MB / 0.7373 GB, free: 152 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7906, allocations: 0 / 0.7373 GB, free: 152 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.7917, allocations: 1.044 MB / 0.7384 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.7937, allocations: 385.1 kB / 0.7387 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03629/0.8299, allocations: 37.78 MB / 0.7756 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002286/0.8322, allocations: 2.231 MB / 0.7778 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003006/0.8352, allocations: 1.664 MB / 0.7794 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/0.8371, allocations: 1.522 MB / 0.7809 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.693e-06/0.8371, allocations: 0 / 0.7809 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09122/0.9283, allocations: 60.42 MB / 0.8399 GB, free: 50.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/16.18, allocations: 15.62 kB / 0.8399 GB, free: 50.25 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.189517987979343]