Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.001607/0.001607, allocations: 110.2 kB / 19.69 MB, free: 2.203 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.001978/0.001978, allocations: 223.3 kB / 23.01 MB, free: 5.039 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.381/1.381, allocations: 207.6 MB / 233.8 MB, free: 9.973 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.212/0.212, allocations: 44.23 MB / 330.3 MB, free: 9.496 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.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",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.00225/0.00225, allocations: 71.91 kB / 467.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1149, allocations: 61.04 MB / 0.5162 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.0145/0.1294, allocations: 12.75 MB / 0.5286 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008235/0.1376, allocations: 4.004 MB / 0.5325 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.1392, allocations: 71.75 kB / 0.5326 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002824/0.1421, allocations: 1.358 MB / 0.5339 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004614/0.1467, allocations: 1.841 MB / 0.5357 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.148, allocations: 495 kB / 0.5362 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.203/0.351, allocations: 3.656 MB / 0.5398 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002525/0.3536, allocations: 1.878 MB / 0.5416 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/0.3556, allocations: 1.253 MB / 0.5428 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003269/0.3588, allocations: 1.931 MB / 0.5447 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008513/0.3597, allocations: 239.6 kB / 0.5449 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.362, allocations: 0.9813 MB / 0.5459 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002349/0.3643, allocations: 1.67 MB / 0.5475 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003354/0.3677, allocations: 1.95 MB / 0.5494 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00915/0.3768, allocations: 6.405 MB / 0.5557 GB, free: 7.406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3768, allocations: 0 / 0.5557 GB, free: 7.406 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3768, allocations: 1.594 kB / 0.5557 GB, free: 7.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002377/0.3771, allocations: 1.062 kB / 0.5557 GB, free: 7.406 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01058/0.3876, allocations: 4.298 MB / 0.5599 GB, free: 5.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.3877, allocations: 13.78 kB / 0.5599 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001442/0.3891, allocations: 0.725 MB / 0.5606 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/0.3995, allocations: 3.109 MB / 0.5636 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00558/0.405, allocations: 2.316 MB / 0.5659 GB, free: 2.938 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.4052, allocations: 196.8 kB / 0.5661 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/0.4063, allocations: 259 kB / 0.5663 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01767/0.424, allocations: 10.69 MB / 0.5768 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.766e-05/0.4241, allocations: 26.64 kB / 0.5768 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005049/0.4246, allocations: 125.2 kB / 0.5769 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00432/0.4289, allocations: 2.642 MB / 0.5795 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/0.448, allocations: 10.02 MB / 0.5893 GB, free: 4.508 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05682/0.5048, allocations: 35.02 MB / 0.6235 GB, free: 1.207 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009395/0.5142, allocations: 4.065 MB / 0.6275 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003418/0.5177, allocations: 2.116 MB / 0.6295 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/0.5189, allocations: 0.5464 MB / 0.6301 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.519, allocations: 51.38 kB / 0.6301 GB, free: 10.45 MB / 478.1 MB Notification: Performance of pre-optimization done (n=229): time 5.09e-06/0.519, allocations: 1.594 kB / 0.6301 GB, free: 10.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.03515/0.5541, allocations: 13.98 MB / 0.6438 GB, free: 12.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.5542, allocations: 77.34 kB / 0.6438 GB, free: 12.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/0.5584, allocations: 2.701 MB / 0.6465 GB, free: 9.676 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000469/0.5589, allocations: 57.61 kB / 0.6465 GB, free: 9.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0022/0.5611, allocations: 2.811 MB / 0.6493 GB, free: 6.812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001345/0.5624, allocations: 0.8954 MB / 0.6501 GB, free: 5.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001776/0.5642, allocations: 1.049 MB / 0.6512 GB, free: 4.871 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5643, allocations: 301.1 kB / 0.6515 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003704/0.568, allocations: 2.212 MB / 0.6536 GB, free: 2.352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006676/0.5747, allocations: 5.126 MB / 0.6586 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/0.5859, allocations: 8.049 MB / 0.6665 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001321/0.586, allocations: 31.94 kB / 0.6665 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01652/0.6025, allocations: 7.938 MB / 0.6743 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.078e-05/0.6026, allocations: 51.83 kB / 0.6743 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/0.6027, allocations: 106.7 kB / 0.6744 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002444/0.6052, allocations: 0.7889 MB / 0.6752 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004446/0.6096, allocations: 1.202 MB / 0.6764 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006431/0.6161, allocations: 4.417 MB / 0.6807 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003787/0.6198, allocations: 302.2 kB / 0.681 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/0.621, allocations: 300.1 kB / 0.6812 GB, free: 3.469 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (640): * Single equations (assignments): 633 * Array equations: 6 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004885/0.6259, allocations: 2.055 MB / 0.6833 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006014/0.6265, allocations: 286.1 kB / 0.6835 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009014/0.6355, allocations: 4.721 MB / 0.6881 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.58e-05/0.6356, allocations: 40 kB / 0.6882 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.6356, allocations: 7.938 kB / 0.6882 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/0.6357, allocations: 11.95 kB / 0.6882 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02155/0.6572, allocations: 10.56 MB / 0.6985 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/0.6572, allocations: 8 kB / 0.6985 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/0.659, allocations: 363.4 kB / 0.6989 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002065/0.6611, allocations: 0.656 MB / 0.6995 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003656/0.6614, allocations: 52.98 kB / 0.6995 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005439/0.6669, allocations: 3.797 MB / 0.7033 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/0.6669, allocations: 11.94 kB / 0.7033 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/0.6785, allocations: 7.152 MB / 0.7102 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/0.6806, allocations: 0.5842 MB / 0.7108 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006401/0.6813, allocations: 44.05 kB / 0.7109 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.6826, allocations: 142.7 kB / 0.711 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/0.6829, allocations: 144.8 kB / 0.7111 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/0.6831, allocations: 64 kB / 0.7112 GB, free: 4.422 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002855/0.686, allocations: 1.652 MB / 0.7128 GB, free: 2.762 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.686, allocations: 0 / 0.7128 GB, free: 2.762 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004704/0.6907, allocations: 0.9442 MB / 0.7137 GB, free: 1.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01227/0.7029, allocations: 7.799 MB / 0.7213 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009355/0.7123, allocations: 5.173 MB / 0.7264 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/0.7123, allocations: 0 / 0.7264 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003218/0.7155, allocations: 1.878 MB / 0.7282 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.7178, allocations: 352.6 kB / 0.7286 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06871/0.7865, allocations: 40.41 MB / 0.768 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004714/0.7912, allocations: 3.232 MB / 0.7712 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004405/0.7956, allocations: 1.973 MB / 0.7731 GB, free: 444 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.202/0.9976, allocations: 1.758 MB / 0.7748 GB, free: 215.9 MB / 0.6075 GB Notification: Performance of SimCode: time 2.114e-06/0.9976, allocations: 0 / 0.7748 GB, free: 215.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/1.104, allocations: 59.77 MB / 0.8332 GB, free: 183.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.68/24.78, allocations: 7.375 kB / 0.8332 GB, free: 183.4 MB / 0.6075 GB " [Timeout remaining time 635] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_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_Revolute.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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: 27.70786860700173]