Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001399/0.001399, allocations: 114.2 kB / 19.69 MB, free: 2.039 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.001605/0.001605, allocations: 220.7 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2186/0.2186, allocations: 44.24 MB / 330.3 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 75.89 kB / 467.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1147, allocations: 61.04 MB / 0.5161 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01234/0.127, allocations: 10.37 MB / 0.5263 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008318/0.1353, allocations: 3.827 MB / 0.53 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.1373, allocations: 71.69 kB / 0.5301 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004118/0.1414, allocations: 1.978 MB / 0.532 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.1462, allocations: 1.708 MB / 0.5337 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.148, allocations: 0.6121 MB / 0.5343 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005535/0.1535, allocations: 3.349 MB / 0.5375 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2319/0.3854, allocations: 2.127 MB / 0.5396 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/0.388, allocations: 1.274 MB / 0.5409 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/0.3914, allocations: 1.823 MB / 0.5427 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008175/0.3922, allocations: 253.6 kB / 0.5429 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.3946, allocations: 1.065 MB / 0.5439 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001975/0.3966, allocations: 1.616 MB / 0.5455 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002433/0.399, allocations: 1.843 MB / 0.5473 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.4091, allocations: 5.875 MB / 0.553 GB, free: 8.605 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4091, allocations: 1.312 kB / 0.553 GB, free: 8.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4091, allocations: 1.594 kB / 0.5531 GB, free: 8.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002543/0.4093, allocations: 0 / 0.5531 GB, free: 8.605 MB / 414.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.01188/0.4212, allocations: 4.083 MB / 0.557 GB, free: 6.414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.4213, allocations: 9.688 kB / 0.557 GB, free: 6.414 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001185/0.4225, allocations: 0.6048 MB / 0.5576 GB, free: 6.141 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006373/0.4288, allocations: 1.806 MB / 0.5594 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005414/0.4342, allocations: 2.364 MB / 0.5617 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.4344, allocations: 198.2 kB / 0.5619 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007656/0.4352, allocations: 252.6 kB / 0.5621 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01526/0.4504, allocations: 8.442 MB / 0.5704 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001383/0.4506, allocations: 40.17 kB / 0.5704 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003997/0.451, allocations: 122.2 kB / 0.5705 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00289/0.4539, allocations: 1.702 MB / 0.5722 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/0.4686, allocations: 7.102 MB / 0.5791 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04944/0.518, allocations: 33.99 MB / 0.6123 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007273/0.5253, allocations: 2.719 MB / 0.615 GB, free: 9.879 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.5273, allocations: 1.364 MB / 0.6163 GB, free: 8.504 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007689/0.535, allocations: 3.687 MB / 0.6199 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.535, allocations: 55 kB / 0.62 GB, free: 4.766 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 4.319e-06/0.535, allocations: 4 kB / 0.62 GB, free: 4.762 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.03081/0.5658, allocations: 11.53 MB / 0.6312 GB, free: 9.191 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.566, allocations: 170 kB / 0.6314 GB, free: 8.992 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00632/0.5723, allocations: 3.751 MB / 0.6351 GB, free: 5.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003003/0.5726, allocations: 45.7 kB / 0.6351 GB, free: 5.199 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002507/0.5751, allocations: 2.873 MB / 0.6379 GB, free: 2.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008008/0.5759, allocations: 0.5421 MB / 0.6384 GB, free: 1.805 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001657/0.5776, allocations: 1.082 MB / 0.6395 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5777, allocations: 305.1 kB / 0.6398 GB, free: 424 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002701/0.5804, allocations: 1.697 MB / 0.6414 GB, free: 14.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005733/0.5861, allocations: 5.115 MB / 0.6464 GB, free: 7.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009861/0.596, allocations: 7.397 MB / 0.6537 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001044/0.5961, allocations: 36.69 kB / 0.6537 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01487/0.611, allocations: 6.713 MB / 0.6603 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.6111, allocations: 63.44 kB / 0.6603 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/0.6112, allocations: 127.9 kB / 0.6604 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000778/0.612, allocations: 312.7 kB / 0.6607 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004646/0.6167, allocations: 1.241 MB / 0.6619 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/0.6197, allocations: 2.399 MB / 0.6643 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/0.6243, allocations: 287.6 kB / 0.6646 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/0.6254, allocations: 339.6 kB / 0.6649 GB, free: 3.617 MB / 0.4981 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.004071/0.6295, allocations: 1.787 MB / 0.6666 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007827/0.6303, allocations: 329.8 kB / 0.6669 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005257/0.6355, allocations: 2.357 MB / 0.6693 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.625e-05/0.6356, allocations: 16 kB / 0.6693 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.6356, allocations: 7.938 kB / 0.6693 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.6356, allocations: 3.984 kB / 0.6693 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.6495, allocations: 5.892 MB / 0.675 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.6495, allocations: 0 / 0.675 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000898/0.6504, allocations: 171.8 kB / 0.6752 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002262/0.6527, allocations: 0.7147 MB / 0.6759 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001905/0.6528, allocations: 27.05 kB / 0.6759 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006784/0.6596, allocations: 4.715 MB / 0.6805 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6596, allocations: 0 / 0.6805 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007718/0.6673, allocations: 4.339 MB / 0.6848 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001905/0.6693, allocations: 476.8 kB / 0.6852 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005211/0.6698, allocations: 23.98 kB / 0.6852 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.6709, allocations: 71.91 kB / 0.6853 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/0.6711, allocations: 68.47 kB / 0.6854 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.6712, allocations: 39.98 kB / 0.6854 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005037/0.6763, allocations: 2.335 MB / 0.6877 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6763, allocations: 0 / 0.6877 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005785/0.6821, allocations: 0.8272 MB / 0.6885 GB, free: 11.25 MB / 0.5294 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.008245/0.6903, allocations: 4.967 MB / 0.6933 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007917/0.6982, allocations: 3.885 MB / 0.6971 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.6982, allocations: 4.25 kB / 0.6971 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.7, allocations: 1.029 MB / 0.6982 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/0.703, allocations: 394.7 kB / 0.6985 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06741/0.7704, allocations: 37.87 MB / 0.7355 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004106/0.7745, allocations: 2.79 MB / 0.7382 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004062/0.7786, allocations: 1.659 MB / 0.7399 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002527/0.7811, allocations: 1.534 MB / 0.7414 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of SimCode: time 1.182e-06/0.7811, allocations: 0 / 0.7414 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3497/1.131, allocations: 62.58 MB / 0.8025 GB, free: 211.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.43/27.56, allocations: 7.281 kB / 0.8025 GB, free: 211.4 MB / 0.6075 GB " [Timeout remaining time 632] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 30.64378119700268]