Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.2 MB / 218.9 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008389/0.0008388, allocations: 88.95 kB / 267.1 MB, free: 9.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3605/0.3605, allocations: 43.47 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.128e-05/4.129e-05, allocations: 4 kB / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 58.84 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.33/0.4306, allocations: 101.8 MB / 0.5723 GB, free: 3.168 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.431, allocations: 73.75 kB / 0.5723 GB, free: 3.098 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2139/0.6449, allocations: 85.56 MB / 0.6559 GB, free: 12.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.645, allocations: 0 / 0.6559 GB, free: 12.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001332/0.6451, allocations: 75.98 kB / 0.656 GB, free: 12.82 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.007617/0.6527, allocations: 3.522 MB / 0.6594 GB, free: 9.234 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.6528, allocations: 12.03 kB / 0.6594 GB, free: 9.223 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/0.6668, allocations: 3.504 MB / 0.6628 GB, free: 5.707 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01141/0.6782, allocations: 4.206 MB / 0.6669 GB, free: 1.453 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003151/0.6786, allocations: 295.8 kB / 0.6672 GB, free: 1.164 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/0.6803, allocations: 389.1 kB / 0.6676 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.24/0.9203, allocations: 9.873 MB / 0.6772 GB, free: 95.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.9204, allocations: 22.06 kB / 0.6772 GB, free: 95.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006032/0.921, allocations: 178.1 kB / 0.6774 GB, free: 95.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001423/0.9225, allocations: 1.163 MB / 0.6786 GB, free: 95.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.9362, allocations: 9.295 MB / 0.6876 GB, free: 95.28 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03425/0.9704, allocations: 32.55 MB / 0.7194 GB, free: 78.65 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004715/0.9752, allocations: 3.334 MB / 0.7227 GB, free: 76.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.9765, allocations: 1.062 MB / 0.7237 GB, free: 76.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008803/0.9773, allocations: 1.312 MB / 0.725 GB, free: 75.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.9774, allocations: 49.88 kB / 0.725 GB, free: 75.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=187): time 3.577e-06/0.9774, allocations: 0 / 0.725 GB, free: 75.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.01539/0.9928, allocations: 8.707 MB / 0.7335 GB, free: 72.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.9928, allocations: 93.52 kB / 0.7336 GB, free: 71.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.9952, allocations: 2.348 MB / 0.7359 GB, free: 71.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.252e-05/0.9953, allocations: 48.95 kB / 0.736 GB, free: 71.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.9963, allocations: 2.744 MB / 0.7386 GB, free: 69.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/0.9966, allocations: 0.7112 MB / 0.7393 GB, free: 68.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.9968, allocations: 94.53 kB / 0.7394 GB, free: 68.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.997, allocations: 0.5182 MB / 0.7399 GB, free: 68.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.9986, allocations: 1.505 MB / 0.7414 GB, free: 67.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002535/1.001, allocations: 4.402 MB / 0.7457 GB, free: 63.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/1.004, allocations: 2.626 MB / 0.7483 GB, free: 62.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.39e-05/1.004, allocations: 30.06 kB / 0.7483 GB, free: 62.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=656) (initialization): time 0.006268/1.01, allocations: 5.828 MB / 0.754 GB, free: 60.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/1.01, allocations: 47.88 kB / 0.754 GB, free: 60.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.671e-05/1.01, allocations: 102.7 kB / 0.7541 GB, free: 60.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/1.01, allocations: 192.5 kB / 0.7543 GB, free: 60.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002528/1.013, allocations: 1.092 MB / 0.7554 GB, free: 60.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/1.014, allocations: 1.674 MB / 0.757 GB, free: 58.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/1.016, allocations: 226.4 kB / 0.7572 GB, free: 58.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/1.016, allocations: 299.6 kB / 0.7575 GB, free: 58.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 467 * 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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (604): * Single equations (assignments): 597 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003982/1.017, allocations: 484.7 kB / 0.758 GB, free: 58.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/1.017, allocations: 250.9 kB / 0.7582 GB, free: 58.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/1.02, allocations: 2.496 MB / 0.7607 GB, free: 57.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/1.02, allocations: 24 kB / 0.7607 GB, free: 57.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.02, allocations: 4.953 kB / 0.7607 GB, free: 57.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/1.02, allocations: 7.5 kB / 0.7607 GB, free: 57.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009567/1.029, allocations: 8.153 MB / 0.7687 GB, free: 54.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/1.029, allocations: 10.53 kB / 0.7687 GB, free: 54.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008647/1.03, allocations: 260.4 kB / 0.7689 GB, free: 54.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/1.031, allocations: 61.3 kB / 0.769 GB, free: 54.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.412e-05/1.031, allocations: 43.12 kB / 0.769 GB, free: 54.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008578/1.031, allocations: 1.504 MB / 0.7705 GB, free: 52.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.031, allocations: 14.69 kB / 0.7705 GB, free: 52.81 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003862/1.035, allocations: 4.878 MB / 0.7753 GB, free: 49.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008741/1.036, allocations: 0.4989 MB / 0.7757 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/1.036, allocations: 44.59 kB / 0.7758 GB, free: 49.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007217/1.037, allocations: 57.47 kB / 0.7758 GB, free: 49.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.037, allocations: 126.8 kB / 0.776 GB, free: 49.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.594e-05/1.037, allocations: 64.06 kB / 0.776 GB, free: 49.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001785/1.039, allocations: 1.59 MB / 0.7776 GB, free: 48.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.8e-07/1.039, allocations: 3.656 kB / 0.7776 GB, free: 48.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00292/1.042, allocations: 0.8315 MB / 0.7784 GB, free: 48.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 135 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003106/1.043, allocations: 185.8 kB / 0.7786 GB, free: 48.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003903/1.046, allocations: 3.809 MB / 0.7823 GB, free: 45.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.046, allocations: 4 kB / 0.7823 GB, free: 45.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/1.048, allocations: 1.215 MB / 0.7835 GB, free: 44.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009953/1.049, allocations: 312.5 kB / 0.7838 GB, free: 44.33 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00904/1.058, allocations: 7.161 MB / 0.7908 GB, free: 37.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002453/1.06, allocations: 3.281 MB / 0.794 GB, free: 35.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003302/1.063, allocations: 1.731 MB / 0.7957 GB, free: 34.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/1.064, allocations: 189.5 kB / 0.7958 GB, free: 33.95 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/1.064, allocations: 0 / 0.7958 GB, free: 33.95 MB / 490.7 MB Notification: Performance of Templates: time 0.03373/1.098, allocations: 22.03 MB / 0.8174 GB, free: 20.34 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches