Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008658/0.0008659, allocations: 98.94 kB / 18.01 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009996/0.0009996, allocations: 178.5 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 243 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2139/0.2139, allocations: 44.25 MB / 338.3 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003856, allocations: 8.234 kB / 411 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1089, allocations: 61.92 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01691/0.1259, allocations: 16.62 MB / 489.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009586/0.1355, allocations: 4.059 MB / 493.6 MB, free: 8.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0035/0.1391, allocations: 67.81 kB / 493.7 MB, free: 8.527 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.1403, allocations: 266.8 kB / 493.9 MB, free: 8.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.1431, allocations: 0.8123 MB / 494.7 MB, free: 7.453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1441, allocations: 267.5 kB / 495 MB, free: 7.191 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003816/0.148, allocations: 2.785 MB / 497.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003002/0.151, allocations: 1.663 MB / 499.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.1523, allocations: 0.5872 MB / 0.4883 GB, free: 2.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.1539, allocations: 0.9886 MB / 0.4893 GB, free: 1.113 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004237/0.1544, allocations: 76 kB / 0.4893 GB, free: 1.039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.156, allocations: 0.7135 MB / 0.49 GB, free: 332 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.1572, allocations: 0.9076 MB / 0.4909 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.1589, allocations: 1.111 MB / 0.492 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003408/0.1623, allocations: 2.798 MB / 0.4947 GB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1624, allocations: 0 / 0.4947 GB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1624, allocations: 0 / 0.4947 GB, free: 11.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001432/0.1626, allocations: 0 / 0.4947 GB, free: 11.48 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.004742/0.1673, allocations: 2.187 MB / 0.4969 GB, free: 9.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1674, allocations: 12.03 kB / 0.4969 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005733/0.1731, allocations: 1.62 MB / 0.4985 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.1752, allocations: 1.065 MB / 0.4995 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.1754, allocations: 119.3 kB / 0.4996 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006348/0.176, allocations: 152 kB / 0.4998 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2058/0.3818, allocations: 6.174 MB / 0.5058 GB, free: 46.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001476/0.382, allocations: 32.19 kB / 0.5058 GB, free: 46.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005443/0.3826, allocations: 83.88 kB / 0.5059 GB, free: 46.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00314/0.3857, allocations: 1.437 MB / 0.5073 GB, free: 46.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.3965, allocations: 5.392 MB / 0.5126 GB, free: 45.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02597/0.4225, allocations: 24.88 MB / 0.5369 GB, free: 25.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004048/0.4266, allocations: 2.353 MB / 0.5392 GB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.4276, allocations: 0.9893 MB / 0.5401 GB, free: 23.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/0.4279, allocations: 323.5 kB / 0.5405 GB, free: 23.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.4279, allocations: 53.02 kB / 0.5405 GB, free: 23.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.296e-06/0.4279, allocations: 0 / 0.5405 GB, free: 23.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02042/0.4484, allocations: 8.49 MB / 0.5488 GB, free: 15.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.4485, allocations: 140.5 kB / 0.5489 GB, free: 15.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003129/0.4516, allocations: 2.647 MB / 0.5515 GB, free: 12.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.4518, allocations: 38.8 kB / 0.5516 GB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009663/0.4527, allocations: 2.024 MB / 0.5535 GB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/0.4532, allocations: 432.5 kB / 0.5539 GB, free: 9.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000465/0.4536, allocations: 367.2 kB / 0.5543 GB, free: 9.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.199e-05/0.4537, allocations: 309.1 kB / 0.5546 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.4554, allocations: 1.328 MB / 0.5559 GB, free: 7.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00276/0.4581, allocations: 4.112 MB / 0.5599 GB, free: 2.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006031/0.4642, allocations: 5.928 MB / 0.5657 GB, free: 11.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.371e-05/0.4643, allocations: 28 kB / 0.5657 GB, free: 11.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01012/0.4744, allocations: 5.494 MB / 0.5711 GB, free: 5.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.4746, allocations: 50.34 kB / 0.5711 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001603/0.4748, allocations: 108.1 kB / 0.5712 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.4759, allocations: 452.5 kB / 0.5717 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/0.4789, allocations: 0.9708 MB / 0.5726 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00416/0.4831, allocations: 3.411 MB / 0.5759 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.486, allocations: 232.1 kB / 0.5762 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00064/0.4866, allocations: 269.5 kB / 0.5764 GB, free: 44 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (527): * Single equations (assignments): 523 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002528/0.4892, allocations: 1.364 MB / 0.5777 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000478/0.4897, allocations: 213.2 kB / 0.578 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.4923, allocations: 1.326 MB / 0.5792 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-05/0.4924, allocations: 17.41 kB / 0.5793 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.4924, allocations: 0 / 0.5793 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.4924, allocations: 11.98 kB / 0.5793 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008501/0.5009, allocations: 4.254 MB / 0.5834 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.501, allocations: 0 / 0.5834 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006868/0.5017, allocations: 139.8 kB / 0.5836 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008977/0.5026, allocations: 318.2 kB / 0.5839 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.5027, allocations: 12 kB / 0.5839 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/0.5061, allocations: 2.837 MB / 0.5866 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5061, allocations: 3.938 kB / 0.5867 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004392/0.5105, allocations: 3.06 MB / 0.5896 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006198/0.5112, allocations: 282.1 kB / 0.5899 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003634/0.5115, allocations: 15.94 kB / 0.5899 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009159/0.5125, allocations: 48.48 kB / 0.59 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.5126, allocations: 56.3 kB / 0.59 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.302e-05/0.5127, allocations: 32.84 kB / 0.5901 GB, free: 1.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002786/0.5155, allocations: 1.633 MB / 0.5917 GB, free: 192 kB / 414.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5156, allocations: 7.938 kB / 0.5917 GB, free: 184 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.003305/0.5189, allocations: 0.6 MB / 0.5922 GB, free: 15.58 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 73 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003728/0.5193, allocations: 142.6 kB / 0.5924 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005257/0.5245, allocations: 3.212 MB / 0.5955 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.5246, allocations: 4.188 kB / 0.5955 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.5258, allocations: 0.8638 MB / 0.5964 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.5278, allocations: 198.7 kB / 0.5966 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.5396, allocations: 6.991 MB / 0.6034 GB, free: 4.129 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002794/0.5424, allocations: 2.171 MB / 0.6055 GB, free: 1.926 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006453/0.5431, allocations: 195.4 kB / 0.6057 GB, free: 1.734 MB / 430.1 MB Notification: Performance of SimCode: time 2.074e-06/0.5431, allocations: 0 / 0.6057 GB, free: 1.734 MB / 430.1 MB Notification: Performance of Templates: time 0.06422/0.6073, allocations: 45.27 MB / 0.6499 GB, free: 4.488 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches