Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.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.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009492/0.0009493, allocations: 183.9 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.226/1.226, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008004/0.0008004, allocations: 86.5 kB / 267 MB, free: 9.289 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.359/0.359, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.221e-05, allocations: 4 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 58.84 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3309/0.4341, allocations: 105.1 MB / 0.5754 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.4343, allocations: 79.09 kB / 0.5755 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1732/0.6075, allocations: 73.29 MB / 0.6471 GB, free: 348 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.6076, allocations: 0 / 0.6471 GB, free: 348 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001205/0.6077, allocations: 60 kB / 0.6471 GB, free: 288 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1219 * Number of variables: 1219 Notification: Performance of Generate backend data structure: time 0.006998/0.6147, allocations: 3.269 MB / 0.6503 GB, free: 12.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.6148, allocations: 8.031 kB / 0.6503 GB, free: 12.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01565/0.6304, allocations: 4.25 MB / 0.6545 GB, free: 8.684 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.6408, allocations: 4.216 MB / 0.6586 GB, free: 4.402 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.6411, allocations: 246.4 kB / 0.6588 GB, free: 4.16 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/0.6425, allocations: 339.8 kB / 0.6591 GB, free: 3.828 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/0.655, allocations: 8.225 MB / 0.6672 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/0.6552, allocations: 59.47 kB / 0.6672 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004239/0.6556, allocations: 167.9 kB / 0.6674 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001042/0.6566, allocations: 0.8212 MB / 0.6682 GB, free: 9.598 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.6678, allocations: 6.582 MB / 0.6746 GB, free: 3.012 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2819/0.9497, allocations: 39.87 MB / 0.7136 GB, free: 79.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003808/0.9536, allocations: 2.255 MB / 0.7158 GB, free: 78.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.9546, allocations: 1.06 MB / 0.7168 GB, free: 78.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/0.9549, allocations: 322.3 kB / 0.7171 GB, free: 78.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.9549, allocations: 45.69 kB / 0.7171 GB, free: 78.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=117): time 3.797e-06/0.955, allocations: 0 / 0.7171 GB, free: 78.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=141): time 0.02249/0.9775, allocations: 9.417 MB / 0.7263 GB, free: 75.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.9776, allocations: 193.5 kB / 0.7265 GB, free: 75.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003954/0.9815, allocations: 3.288 MB / 0.7297 GB, free: 75.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.9817, allocations: 47.34 kB / 0.7298 GB, free: 75.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.9829, allocations: 2.704 MB / 0.7324 GB, free: 73.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/0.9833, allocations: 0.5582 MB / 0.733 GB, free: 73.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.9835, allocations: 101.5 kB / 0.7331 GB, free: 73.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002777/0.9838, allocations: 0.5413 MB / 0.7336 GB, free: 73.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/0.9859, allocations: 1.597 MB / 0.7351 GB, free: 73.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002925/0.9888, allocations: 5.023 MB / 0.7401 GB, free: 68.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/0.9919, allocations: 2.831 MB / 0.7428 GB, free: 68.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.321e-05/0.992, allocations: 39.12 kB / 0.7429 GB, free: 68.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=702) (initialization): time 0.009394/1.001, allocations: 6.557 MB / 0.7493 GB, free: 68.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.002, allocations: 58.09 kB / 0.7493 GB, free: 68.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001619/1.002, allocations: 126.9 kB / 0.7494 GB, free: 68.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000683/1.002, allocations: 348 kB / 0.7498 GB, free: 68.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003351/1.006, allocations: 1.247 MB / 0.751 GB, free: 68.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/1.008, allocations: 2.708 MB / 0.7536 GB, free: 66.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003735/1.012, allocations: 289.7 kB / 0.7539 GB, free: 66.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007519/1.013, allocations: 337.9 kB / 0.7542 GB, free: 66.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 27 (BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Distance1.arrowColor[3],Distance1.arrowColor[2],Distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (667): * Single equations (assignments): 663 * Array equations: 3 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001252/1.014, allocations: 0.5197 MB / 0.7547 GB, free: 66.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007455/1.015, allocations: 308.6 kB / 0.755 GB, free: 66.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003289/1.018, allocations: 1.699 MB / 0.7567 GB, free: 66.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/1.018, allocations: 16.27 kB / 0.7567 GB, free: 66.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/1.018, allocations: 3.031 kB / 0.7567 GB, free: 66.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/1.018, allocations: 8.25 kB / 0.7567 GB, free: 66.01 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/1.029, allocations: 5.382 MB / 0.762 GB, free: 63.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/1.029, allocations: 2.25 kB / 0.762 GB, free: 63.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/1.03, allocations: 220.7 kB / 0.7622 GB, free: 63.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004909/1.031, allocations: 154.7 kB / 0.7623 GB, free: 63.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/1.031, allocations: 26.55 kB / 0.7624 GB, free: 63.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/1.033, allocations: 2.148 MB / 0.7645 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.033, allocations: 9.266 kB / 0.7645 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00523/1.039, allocations: 3.775 MB / 0.7681 GB, free: 60.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/1.04, allocations: 0.5238 MB / 0.7687 GB, free: 60.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007056/1.041, allocations: 26.81 kB / 0.7687 GB, free: 60.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/1.042, allocations: 72.36 kB / 0.7688 GB, free: 60 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/1.042, allocations: 68.38 kB / 0.7688 GB, free: 59.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.331e-05/1.042, allocations: 42.05 kB / 0.7689 GB, free: 59.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002962/1.045, allocations: 2.282 MB / 0.7711 GB, free: 59.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.31e-07/1.045, allocations: 0 / 0.7711 GB, free: 59.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003969/1.049, allocations: 0.8066 MB / 0.7719 GB, free: 59.09 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 108 * Array equations: 3 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003408/1.05, allocations: 163.3 kB / 0.772 GB, free: 58.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006031/1.056, allocations: 3.928 MB / 0.7759 GB, free: 57.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.056, allocations: 1.188 kB / 0.7759 GB, free: 57.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/1.057, allocations: 1.069 MB / 0.7769 GB, free: 57.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/1.06, allocations: 348.1 kB / 0.7772 GB, free: 56.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008536/1.068, allocations: 5.929 MB / 0.783 GB, free: 54.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002171/1.07, allocations: 2.823 MB / 0.7858 GB, free: 53.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004114/1.074, allocations: 1.734 MB / 0.7875 GB, free: 53.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/1.075, allocations: 219.3 kB / 0.7877 GB, free: 53.39 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/1.075, allocations: 0 / 0.7877 GB, free: 53.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.04424/1.119, allocations: 27 MB / 0.8141 GB, free: 49.21 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/Distance/Distance.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches