Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.00139, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001699/0.001699, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.061/2.061, allocations: 222.9 MB / 242.5 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2769/0.2769, allocations: 44.17 MB / 336.8 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002848/0.002848, allocations: 75.33 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1971, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.03005/0.2273, allocations: 14.46 MB / 483.6 MB, free: 324 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01471/0.242, allocations: 4.537 MB / 488.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003403/0.2455, allocations: 55.88 kB / 488.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003138/0.2487, allocations: 0.7594 MB / 489 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005101/0.2538, allocations: 1.233 MB / 490.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.2558, allocations: 495.1 kB / 490.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005617/0.2614, allocations: 3.456 MB / 494.2 MB, free: 5.766 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002659/0.2641, allocations: 1.213 MB / 495.4 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.2658, allocations: 0.6846 MB / 496.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/0.2684, allocations: 1.207 MB / 497.3 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004745/0.2689, allocations: 100 kB / 497.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.2719, allocations: 0.9709 MB / 498.3 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.2735, allocations: 1.001 MB / 499.3 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002135/0.2757, allocations: 1.191 MB / 0.4888 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005498/0.2812, allocations: 3.079 MB / 0.4918 GB, free: 12.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2812, allocations: 0 / 0.4918 GB, free: 12.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2813, allocations: 4 kB / 0.4918 GB, free: 12.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.26e-05/0.2813, allocations: 0 / 0.4918 GB, free: 12.28 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.009847/0.2912, allocations: 2.961 MB / 0.4947 GB, free: 9.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.17e-05/0.2913, allocations: 8.031 kB / 0.4947 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/0.3036, allocations: 1.643 MB / 0.4963 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004875/0.3085, allocations: 1.336 MB / 0.4976 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.3088, allocations: 127.4 kB / 0.4977 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007896/0.3096, allocations: 167.9 kB / 0.4979 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3762/0.6858, allocations: 6.46 MB / 0.5042 GB, free: 46.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/0.686, allocations: 29.41 kB / 0.5042 GB, free: 46.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003832/0.6864, allocations: 84.36 kB / 0.5043 GB, free: 46.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004548/0.691, allocations: 1.436 MB / 0.5057 GB, free: 46.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/0.7077, allocations: 5.733 MB / 0.5113 GB, free: 44.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04212/0.7499, allocations: 26.8 MB / 0.5375 GB, free: 24.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005572/0.7555, allocations: 2.138 MB / 0.5396 GB, free: 22.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.7572, allocations: 1.039 MB / 0.5406 GB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.7574, allocations: 181.8 kB / 0.5408 GB, free: 21.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.7574, allocations: 54.39 kB / 0.5408 GB, free: 21.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 5.44e-06/0.7575, allocations: 0 / 0.5408 GB, free: 21.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.02006/0.7775, allocations: 6.364 MB / 0.547 GB, free: 15.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.7777, allocations: 148.8 kB / 0.5472 GB, free: 15.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004408/0.7821, allocations: 2.889 MB / 0.55 GB, free: 12.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001914/0.7823, allocations: 37.7 kB / 0.55 GB, free: 12.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001218/0.7835, allocations: 2.117 MB / 0.5521 GB, free: 10.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/0.7839, allocations: 446.4 kB / 0.5525 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/0.7851, allocations: 0.8928 MB / 0.5534 GB, free: 9.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.532e-05/0.7852, allocations: 305.1 kB / 0.5537 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002739/0.7879, allocations: 1.422 MB / 0.5551 GB, free: 7.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003934/0.7919, allocations: 4.299 MB / 0.5593 GB, free: 1.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009394/0.8013, allocations: 6.214 MB / 0.5653 GB, free: 9.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.621e-05/0.8015, allocations: 28 kB / 0.5654 GB, free: 9.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01634/0.8178, allocations: 5.517 MB / 0.5707 GB, free: 4.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.818, allocations: 55.94 kB / 0.5708 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001752/0.8182, allocations: 100 kB / 0.5709 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/0.8184, allocations: 136 kB / 0.571 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006791/0.8252, allocations: 1.224 MB / 0.5722 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002189/0.8254, allocations: 203.2 kB / 0.5724 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004387/0.8298, allocations: 239.6 kB / 0.5726 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009438/0.8308, allocations: 280 kB / 0.5729 GB, free: 2.219 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003164/0.834, allocations: 1.385 MB / 0.5743 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006905/0.8347, allocations: 236.9 kB / 0.5745 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/0.8376, allocations: 1.241 MB / 0.5757 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.313e-05/0.8377, allocations: 15.94 kB / 0.5757 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.8377, allocations: 4 kB / 0.5757 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.8377, allocations: 7.984 kB / 0.5757 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/0.8513, allocations: 4.563 MB / 0.5802 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/0.8514, allocations: 4.281 kB / 0.5802 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002609/0.854, allocations: 363.4 kB / 0.5805 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.416e-05/0.8541, allocations: 8 kB / 0.5805 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/0.8542, allocations: 27.92 kB / 0.5806 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.594e-05/0.8542, allocations: 12.31 kB / 0.5806 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/0.8543, allocations: 15.94 kB / 0.5806 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/0.858, allocations: 2.164 MB / 0.5827 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008434/0.8589, allocations: 305.8 kB / 0.583 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005953/0.8595, allocations: 20 kB / 0.583 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.861, allocations: 59.92 kB / 0.5831 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.8612, allocations: 71.73 kB / 0.5831 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.8614, allocations: 39.94 kB / 0.5832 GB, free: 7.473 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00469/0.8661, allocations: 1.815 MB / 0.5849 GB, free: 5.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8661, allocations: 0 / 0.5849 GB, free: 5.652 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004888/0.871, allocations: 0.6341 MB / 0.5856 GB, free: 5.023 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005295/0.8715, allocations: 156.2 kB / 0.5857 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01178/0.8833, allocations: 3.252 MB / 0.5889 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.8834, allocations: 4.062 kB / 0.5889 GB, free: 1.633 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.8853, allocations: 0.7949 MB / 0.5897 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/0.8886, allocations: 266.4 kB / 0.5899 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/0.9048, allocations: 7.043 MB / 0.5968 GB, free: 9.438 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003958/0.9088, allocations: 2.21 MB / 0.599 GB, free: 7.199 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/0.9102, allocations: 211.4 kB / 0.5992 GB, free: 6.992 MB / 430.1 MB Notification: Performance of SimCode: time 2.635e-06/0.9102, allocations: 0 / 0.5992 GB, free: 6.992 MB / 430.1 MB Notification: Performance of Templates: time 0.07828/0.9885, allocations: 37.24 MB / 0.6355 GB, free: 1.816 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches