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.001861/0.001861, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.002191/0.002191, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.523/1.523, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2428/0.2428, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.002098/0.002098, allocations: 67.89 kB / 0.4909 GB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1482, allocations: 65.99 MB / 0.5554 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01333/0.1615, allocations: 10.28 MB / 0.5654 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009191/0.1707, allocations: 3.822 MB / 0.5692 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.1726, allocations: 75.62 kB / 0.5692 GB, free: 7.551 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005074/0.1777, allocations: 1.958 MB / 0.5711 GB, free: 5.586 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00593/0.1836, allocations: 1.669 MB / 0.5728 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.1858, allocations: 0.616 MB / 0.5734 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006521/0.1923, allocations: 3.372 MB / 0.5767 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004042/0.1963, allocations: 2.189 MB / 0.5788 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00344/0.1998, allocations: 1.261 MB / 0.58 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004055/0.2038, allocations: 1.81 MB / 0.5818 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001377/0.2052, allocations: 252 kB / 0.582 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003592/0.2088, allocations: 1.053 MB / 0.5831 GB, free: 9.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00314/0.2119, allocations: 1.597 MB / 0.5846 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004175/0.2161, allocations: 1.813 MB / 0.5864 GB, free: 5.863 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.2271, allocations: 5.812 MB / 0.5921 GB, free: 28 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2271, allocations: 4 kB / 0.5921 GB, free: 24 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2271, allocations: 0 / 0.5921 GB, free: 24 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002642/0.2274, allocations: 3.938 kB / 0.5921 GB, free: 20 kB / 446.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.3162/0.5435, allocations: 4.113 MB / 0.5961 GB, free: 33.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.5436, allocations: 14.69 kB / 0.5961 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00208/0.5457, allocations: 0.6048 MB / 0.5967 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008226/0.5539, allocations: 1.804 MB / 0.5985 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005809/0.5597, allocations: 2.163 MB / 0.6006 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002884/0.56, allocations: 196.5 kB / 0.6008 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/0.5614, allocations: 254.5 kB / 0.601 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02094/0.5823, allocations: 8.458 MB / 0.6093 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002494/0.5826, allocations: 40.98 kB / 0.6093 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/0.5838, allocations: 122.8 kB / 0.6094 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003926/0.5878, allocations: 1.693 MB / 0.6111 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01709/0.6048, allocations: 7.124 MB / 0.618 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04698/0.6518, allocations: 34.07 MB / 0.6513 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009099/0.6609, allocations: 3.186 MB / 0.6544 GB, free: 3.121 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/0.6634, allocations: 1.365 MB / 0.6558 GB, free: 1.738 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/0.6739, allocations: 4.453 MB / 0.6601 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.937e-05/0.674, allocations: 45.41 kB / 0.6601 GB, free: 13.01 MB / 478.1 MB Notification: Performance of pre-optimization done (n=121): time 8.165e-06/0.674, allocations: 0 / 0.6601 GB, free: 13.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=129): time 0.03668/0.7106, allocations: 11.75 MB / 0.6716 GB, free: 1.137 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.7108, allocations: 170.8 kB / 0.6718 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007478/0.7182, allocations: 3.726 MB / 0.6754 GB, free: 13.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003433/0.7186, allocations: 41.7 kB / 0.6755 GB, free: 13.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002995/0.7216, allocations: 2.866 MB / 0.6783 GB, free: 10.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009584/0.7225, allocations: 0.5428 MB / 0.6788 GB, free: 9.727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00234/0.7249, allocations: 1.084 MB / 0.6799 GB, free: 8.633 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.725, allocations: 305.1 kB / 0.6801 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003394/0.7284, allocations: 1.697 MB / 0.6818 GB, free: 6.629 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007322/0.7358, allocations: 5.123 MB / 0.6868 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/0.7467, allocations: 7.406 MB / 0.694 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000134/0.7469, allocations: 39.94 kB / 0.6941 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01651/0.7634, allocations: 6.718 MB / 0.7006 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.7635, allocations: 60.19 kB / 0.7007 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002367/0.7637, allocations: 124 kB / 0.7008 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009055/0.7647, allocations: 316.7 kB / 0.7011 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00485/0.7695, allocations: 1.244 MB / 0.7023 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003645/0.7731, allocations: 2.5 MB / 0.7048 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005215/0.7784, allocations: 299.4 kB / 0.7051 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001278/0.7796, allocations: 336 kB / 0.7054 GB, free: 10.91 MB / 0.5137 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.004754/0.7844, allocations: 1.787 MB / 0.7071 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/0.7854, allocations: 325.8 kB / 0.7074 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00618/0.7916, allocations: 2.36 MB / 0.7097 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.158e-05/0.7917, allocations: 19.94 kB / 0.7098 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.7917, allocations: 7.938 kB / 0.7098 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.92e-05/0.7917, allocations: 4.859 kB / 0.7098 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.8076, allocations: 5.914 MB / 0.7155 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/0.8076, allocations: 2.203 kB / 0.7155 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.8086, allocations: 167.8 kB / 0.7157 GB, free: 240 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002565/0.8112, allocations: 0.7187 MB / 0.7164 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002649/0.8115, allocations: 20 kB / 0.7164 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007129/0.8186, allocations: 4.823 MB / 0.7211 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.8186, allocations: 0 / 0.7211 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008626/0.8272, allocations: 4.352 MB / 0.7254 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/0.8285, allocations: 382.8 kB / 0.7257 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009675/0.8294, allocations: 16 kB / 0.7258 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/0.8313, allocations: 75.91 kB / 0.7258 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004148/0.8317, allocations: 68.5 kB / 0.7259 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.8318, allocations: 32 kB / 0.7259 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005244/0.8371, allocations: 2.327 MB / 0.7282 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.3e-07/0.8371, allocations: 0 / 0.7282 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006732/0.8438, allocations: 0.8046 MB / 0.729 GB, free: 2.453 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.009913/0.8537, allocations: 4.978 MB / 0.7339 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00808/0.8618, allocations: 3.889 MB / 0.7376 GB, free: 9.555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.8618, allocations: 0 / 0.7376 GB, free: 9.555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001931/0.8637, allocations: 1.038 MB / 0.7387 GB, free: 8.504 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/0.867, allocations: 397 kB / 0.739 GB, free: 8.121 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07568/0.9427, allocations: 37.72 MB / 0.7759 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005567/0.9482, allocations: 2.781 MB / 0.7786 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005163/0.9534, allocations: 1.66 MB / 0.7802 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003527/0.9569, allocations: 1.522 MB / 0.7817 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of SimCode: time 1.573e-06/0.9569, allocations: 0 / 0.7817 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4294/1.386, allocations: 57.99 MB / 0.8383 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.54/24.92, allocations: 13.92 kB / 0.8383 GB, free: 215.7 MB / 0.6387 GB " [Timeout remaining time 635] (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: 28.31937112599553]