Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001383/0.001383, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001596/0.001596, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.401/1.401, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2252/0.2252, allocations: 44.94 MB / 358.8 MB, free: 6.129 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002068/0.002068, allocations: 75.88 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3003, allocations: 65.47 MB / 0.557 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01162/0.3119, allocations: 9.03 MB / 0.5658 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007704/0.3196, allocations: 3.61 MB / 0.5693 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.3208, allocations: 71.69 kB / 0.5694 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00365/0.3245, allocations: 1.888 MB / 0.5712 GB, free: 8.891 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003881/0.3283, allocations: 1.681 MB / 0.5729 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.3298, allocations: 0.6199 MB / 0.5735 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004349/0.3341, allocations: 3.372 MB / 0.5768 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002661/0.3368, allocations: 2.098 MB / 0.5788 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.3385, allocations: 1.265 MB / 0.5801 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/0.3409, allocations: 1.721 MB / 0.5817 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004879/0.3414, allocations: 255.9 kB / 0.582 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.3432, allocations: 0.9206 MB / 0.5829 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001512/0.3447, allocations: 1.601 MB / 0.5844 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.3462, allocations: 1.331 MB / 0.5857 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006388/0.3526, allocations: 5.832 MB / 0.5914 GB, free: 4.078 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3526, allocations: 0 / 0.5914 GB, free: 4.078 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3526, allocations: 0 / 0.5914 GB, free: 4.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001271/0.3527, allocations: 0 / 0.5914 GB, free: 4.078 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.007479/0.3602, allocations: 4.053 MB / 0.5954 GB, free: 15.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.3603, allocations: 8.031 kB / 0.5954 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007849/0.3611, allocations: 0.6082 MB / 0.596 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005982/0.367, allocations: 1.804 MB / 0.5978 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004197/0.3712, allocations: 2.11 MB / 0.5998 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.3714, allocations: 193 kB / 0.6 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004825/0.3719, allocations: 255.8 kB / 0.6002 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/0.3846, allocations: 8.502 MB / 0.6085 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.572e-05/0.3847, allocations: 35.69 kB / 0.6086 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003038/0.385, allocations: 123.9 kB / 0.6087 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002766/0.3878, allocations: 1.699 MB / 0.6104 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.4003, allocations: 7.098 MB / 0.6173 GB, free: 8.789 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03922/0.4395, allocations: 32.8 MB / 0.6493 GB, free: 6.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006986/0.4465, allocations: 2.723 MB / 0.652 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.4483, allocations: 1.36 MB / 0.6533 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005822/0.4541, allocations: 3.368 MB / 0.6566 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.4542, allocations: 43.22 kB / 0.6566 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 3.667e-06/0.4542, allocations: 0 / 0.6566 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.02732/0.4815, allocations: 11.57 MB / 0.6679 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.4816, allocations: 166.9 kB / 0.6681 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005192/0.4868, allocations: 3.935 MB / 0.6719 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001622/0.487, allocations: 53.69 kB / 0.672 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002232/0.4892, allocations: 2.862 MB / 0.6748 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005598/0.4897, allocations: 0.5389 MB / 0.6753 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00135/0.4911, allocations: 1.087 MB / 0.6764 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4912, allocations: 305.1 kB / 0.6767 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/0.4937, allocations: 1.701 MB / 0.6783 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005226/0.499, allocations: 5.152 MB / 0.6834 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008446/0.5074, allocations: 7.407 MB / 0.6906 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.313e-05/0.5075, allocations: 36 kB / 0.6906 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01066/0.5182, allocations: 6.713 MB / 0.6972 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.984e-05/0.5182, allocations: 63.97 kB / 0.6973 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/0.5184, allocations: 124 kB / 0.6974 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006252/0.519, allocations: 316.7 kB / 0.6977 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003425/0.5224, allocations: 1.244 MB / 0.6989 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/0.5252, allocations: 2.382 MB / 0.7012 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/0.5282, allocations: 291.6 kB / 0.7015 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004348/0.5287, allocations: 328 kB / 0.7018 GB, free: 13.41 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.002496/0.5312, allocations: 1.795 MB / 0.7036 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005445/0.5317, allocations: 325.8 kB / 0.7039 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004629/0.5364, allocations: 2.374 MB / 0.7062 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/0.5364, allocations: 16 kB / 0.7062 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.5364, allocations: 4 kB / 0.7062 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.5364, allocations: 3.984 kB / 0.7062 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.5472, allocations: 5.644 MB / 0.7117 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.5472, allocations: 3.938 kB / 0.7117 GB, free: 3.164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.548, allocations: 175.7 kB / 0.7119 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002083/0.55, allocations: 0.7147 MB / 0.7126 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.044e-05/0.5501, allocations: 20 kB / 0.7126 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006125/0.5563, allocations: 4.668 MB / 0.7172 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5563, allocations: 3.938 kB / 0.7172 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006821/0.5631, allocations: 4.353 MB / 0.7214 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000936/0.564, allocations: 301.7 kB / 0.7217 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003492/0.5644, allocations: 16 kB / 0.7217 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.5654, allocations: 75.83 kB / 0.7218 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.5656, allocations: 72.47 kB / 0.7219 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.762e-05/0.5657, allocations: 44.05 kB / 0.7219 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003557/0.5692, allocations: 2.319 MB / 0.7242 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5692, allocations: 0 / 0.7242 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003925/0.5731, allocations: 0.7968 MB / 0.725 GB, free: 5.48 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.007794/0.5809, allocations: 4.976 MB / 0.7298 GB, free: 468 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2329/0.8139, allocations: 3.886 MB / 0.7336 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.8139, allocations: 6.656 kB / 0.7336 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.8151, allocations: 1.048 MB / 0.7346 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/0.8171, allocations: 379.6 kB / 0.735 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0365/0.8536, allocations: 37.78 MB / 0.7719 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/0.8556, allocations: 2.235 MB / 0.7741 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002863/0.8585, allocations: 1.662 MB / 0.7757 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/0.8599, allocations: 1.522 MB / 0.7772 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.493e-06/0.8599, allocations: 4 kB / 0.7772 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09262/0.9525, allocations: 58.11 MB / 0.8339 GB, free: 61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.6, allocations: 15.38 kB / 0.834 GB, free: 60.99 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.53501591598615]