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.001434/0.001434, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001497/0.001497, allocations: 211.9 kB / 22.99 MB, free: 4.977 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.442/1.442, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.2594/0.2594, allocations: 44.27 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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.002355/0.002355, allocations: 67.91 kB / 467.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1167, allocations: 61.05 MB / 0.5162 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01207/0.1287, allocations: 9.065 MB / 0.525 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00777/0.1365, allocations: 3.601 MB / 0.5285 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.1383, allocations: 71.62 kB / 0.5286 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00432/0.1426, allocations: 1.9 MB / 0.5305 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004647/0.1473, allocations: 1.712 MB / 0.5321 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.1488, allocations: 0.616 MB / 0.5327 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005088/0.1539, allocations: 3.342 MB / 0.536 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003404/0.1573, allocations: 2.13 MB / 0.5381 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2113/0.3686, allocations: 1.263 MB / 0.5393 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003229/0.3718, allocations: 1.733 MB / 0.541 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009012/0.3727, allocations: 254.1 kB / 0.5412 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.3749, allocations: 0.9209 MB / 0.5421 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002227/0.3771, allocations: 1.626 MB / 0.5437 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002864/0.38, allocations: 1.357 MB / 0.5451 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009305/0.3893, allocations: 5.897 MB / 0.5508 GB, free: 10.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.3893, allocations: 1.094 kB / 0.5508 GB, free: 10.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3893, allocations: 0 / 0.5508 GB, free: 10.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002437/0.3896, allocations: 0 / 0.5508 GB, free: 10.19 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.01347/0.403, allocations: 4.079 MB / 0.5548 GB, free: 8.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.4031, allocations: 9.656 kB / 0.5548 GB, free: 8.457 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002105/0.4052, allocations: 0.6039 MB / 0.5554 GB, free: 8.352 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007063/0.4123, allocations: 1.813 MB / 0.5572 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00647/0.4187, allocations: 2.378 MB / 0.5595 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002511/0.419, allocations: 188.5 kB / 0.5597 GB, free: 6.961 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/0.4203, allocations: 262.5 kB / 0.5599 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.4358, allocations: 8.483 MB / 0.5682 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.4359, allocations: 44.89 kB / 0.5682 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000451/0.4364, allocations: 122.7 kB / 0.5684 GB, free: 2.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002708/0.4391, allocations: 1.696 MB / 0.57 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.4521, allocations: 7.083 MB / 0.5769 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04935/0.5015, allocations: 32.82 MB / 0.609 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007815/0.5093, allocations: 2.721 MB / 0.6116 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002133/0.5114, allocations: 1.368 MB / 0.613 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007765/0.5192, allocations: 3.345 MB / 0.6162 GB, free: 9.992 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.5193, allocations: 50.97 kB / 0.6163 GB, free: 9.938 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 4.528e-06/0.5193, allocations: 0 / 0.6163 GB, free: 9.938 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.0322/0.5515, allocations: 11.59 MB / 0.6276 GB, free: 14.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.5516, allocations: 174.9 kB / 0.6278 GB, free: 14.12 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007229/0.5588, allocations: 3.956 MB / 0.6316 GB, free: 10.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003645/0.5592, allocations: 52.12 kB / 0.6317 GB, free: 10.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002686/0.5618, allocations: 2.862 MB / 0.6345 GB, free: 7.266 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008565/0.5627, allocations: 0.5484 MB / 0.635 GB, free: 6.723 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002359/0.5651, allocations: 1.09 MB / 0.6361 GB, free: 5.629 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5652, allocations: 309.1 kB / 0.6364 GB, free: 5.324 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003141/0.5683, allocations: 1.689 MB / 0.638 GB, free: 3.629 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00622/0.5746, allocations: 5.142 MB / 0.6431 GB, free: 12.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009958/0.5845, allocations: 7.399 MB / 0.6503 GB, free: 4.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001358/0.5847, allocations: 36 kB / 0.6503 GB, free: 4.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01478/0.5994, allocations: 6.708 MB / 0.6569 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.5996, allocations: 64.19 kB / 0.6569 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003128/0.5999, allocations: 120 kB / 0.657 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007818/0.6007, allocations: 320.7 kB / 0.6574 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004157/0.6049, allocations: 1.24 MB / 0.6586 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/0.6078, allocations: 2.381 MB / 0.6609 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004046/0.6118, allocations: 287.6 kB / 0.6612 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008744/0.6127, allocations: 329.1 kB / 0.6615 GB, free: 8.523 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.00374/0.6164, allocations: 1.796 MB / 0.6632 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007293/0.6172, allocations: 325.8 kB / 0.6635 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005224/0.6224, allocations: 2.363 MB / 0.6658 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-05/0.6224, allocations: 16 kB / 0.6659 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.6224, allocations: 8 kB / 0.6659 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.6224, allocations: 3.984 kB / 0.6659 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/0.636, allocations: 5.635 MB / 0.6714 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.636, allocations: 0 / 0.6714 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008766/0.6369, allocations: 187.7 kB / 0.6716 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002254/0.6392, allocations: 0.7069 MB / 0.6722 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/0.6393, allocations: 24.73 kB / 0.6723 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006755/0.6461, allocations: 4.678 MB / 0.6768 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/0.6461, allocations: 11.97 kB / 0.6768 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008234/0.6543, allocations: 4.331 MB / 0.6811 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/0.6565, allocations: 477.5 kB / 0.6815 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/0.6575, allocations: 20 kB / 0.6816 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/0.6593, allocations: 75.83 kB / 0.6816 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/0.6596, allocations: 75.52 kB / 0.6817 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.6597, allocations: 35.98 kB / 0.6817 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00525/0.665, allocations: 2.339 MB / 0.684 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.665, allocations: 0 / 0.684 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005362/0.6703, allocations: 0.8124 MB / 0.6848 GB, free: 460 kB / 0.5137 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.008059/0.6784, allocations: 4.971 MB / 0.6897 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006805/0.6852, allocations: 3.877 MB / 0.6935 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.6852, allocations: 0.5625 kB / 0.6935 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.6869, allocations: 1.038 MB / 0.6945 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/0.6898, allocations: 390.8 kB / 0.6948 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07181/0.7616, allocations: 37.87 MB / 0.7318 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004945/0.7666, allocations: 2.237 MB / 0.734 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004557/0.7712, allocations: 1.659 MB / 0.7356 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003071/0.7742, allocations: 1.53 MB / 0.7371 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of SimCode: time 1.282e-06/0.7742, allocations: 0 / 0.7371 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3341/1.108, allocations: 58.35 MB / 0.7941 GB, free: 208.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/16.78, allocations: 13.5 kB / 0.7941 GB, free: 208.8 MB / 0.6075 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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: 20.151954867877066]