Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.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) 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(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 111.6 kB / 17.06 MB, free: 6 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.001865/0.001865, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.309/1.309, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009283/0.0009283, allocations: 51.91 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2591, allocations: 49.43 MB / 400.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003014/0.2622, allocations: 1.972 MB / 402.7 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007823/0.263, allocations: 0.5103 MB / 403.2 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.845e-05/0.2631, allocations: 4 kB / 403.2 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.2632, allocations: 15.8 kB / 403.2 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.742e-05/0.2633, allocations: 35.7 kB / 403.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.2635, allocations: 43.89 kB / 403.3 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.2637, allocations: 147.4 kB / 403.4 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.2638, allocations: 69.52 kB / 403.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.659e-05/0.2639, allocations: 67.77 kB / 403.6 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.884e-05/0.2641, allocations: 71.7 kB / 403.6 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.2641, allocations: 12 kB / 403.7 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.383e-05/0.2641, allocations: 16 kB / 403.7 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.2641, allocations: 35.84 kB / 403.7 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.409e-05/0.2642, allocations: 67.67 kB / 403.8 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.2644, allocations: 164.7 kB / 403.9 MB, free: 5.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2644, allocations: 3.984 kB / 403.9 MB, free: 5.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.2644, allocations: 0 / 403.9 MB, free: 5.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2644, allocations: 0 / 403.9 MB, free: 5.77 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005694/0.265, allocations: 443 kB / 404.4 MB, free: 5.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.265, allocations: 8.031 kB / 404.4 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.2651, allocations: 20.69 kB / 404.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.2653, allocations: 200.1 kB / 404.6 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2653, allocations: 12.38 kB / 404.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.2654, allocations: 20.38 kB / 404.6 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.2656, allocations: 150.9 kB / 404.8 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.2657, allocations: 7.938 kB / 404.8 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.2657, allocations: 4 kB / 404.8 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2657, allocations: 4 kB / 404.8 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.2659, allocations: 95.69 kB / 404.9 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006987/0.2666, allocations: 0.5287 MB / 405.4 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.2668, allocations: 74.56 kB / 405.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/0.2668, allocations: 32.84 kB / 405.5 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.2669, allocations: 0 / 405.5 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.2669, allocations: 34.73 kB / 405.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2669, allocations: 3.938 kB / 405.6 MB, free: 3.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.00094/0.2678, allocations: 0.5875 MB / 406.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.2679, allocations: 59.34 kB / 406.2 MB, free: 3.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.268, allocations: 133.7 kB / 406.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.268, allocations: 29.7 kB / 406.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.2681, allocations: 132 kB / 406.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.2682, allocations: 39.45 kB / 406.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.2682, allocations: 41.8 kB / 406.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.2683, allocations: 314.8 kB / 406.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.515e-05/0.2684, allocations: 39.91 kB / 406.9 MB, free: 2.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.2685, allocations: 93.83 kB / 407 MB, free: 2.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.2687, allocations: 138.7 kB / 407.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2687, allocations: 4 kB / 407.1 MB, free: 2.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002488/0.269, allocations: 149.4 kB / 407.3 MB, free: 2.055 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.269, allocations: 8 kB / 407.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.269, allocations: 0 / 407.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.269, allocations: 4 kB / 407.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.2692, allocations: 35.92 kB / 407.3 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.2692, allocations: 11.92 kB / 407.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.979e-05/0.2693, allocations: 12.19 kB / 407.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.2693, allocations: 4 kB / 407.4 MB, free: 1.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (19): * Single equations (assignments): 19 * Array equations: 0 * 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 9.517e-05/0.2694, allocations: 125.8 kB / 407.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.2694, allocations: 7.906 kB / 407.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.2695, allocations: 20.34 kB / 407.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2695, allocations: 7.984 kB / 407.5 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2695, allocations: 3.938 kB / 407.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2695, allocations: 0 / 407.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005144/0.27, allocations: 447.9 kB / 408 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2701, allocations: 3.938 kB / 408 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.2702, allocations: 24.17 kB / 408 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2702, allocations: 4 kB / 408 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.2702, allocations: 3.938 kB / 408 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2702, allocations: 0 / 408 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2702, allocations: 4 kB / 408 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.2706, allocations: 260.5 kB / 408.3 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.2706, allocations: 85 kB / 408.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.2707, allocations: 8 kB / 408.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.2708, allocations: 4 kB / 408.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.2708, allocations: 12.05 kB / 408.4 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.2708, allocations: 4 kB / 408.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.14e-05/0.2709, allocations: 102.8 kB / 408.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2709, allocations: 0 / 408.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.2712, allocations: 28 kB / 408.5 MB, free: 0.7422 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * 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.0001143/0.2713, allocations: 107.6 kB / 408.6 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.2715, allocations: 96.23 kB / 408.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2715, allocations: 0 / 408.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.688e-05/0.2716, allocations: 39.92 kB / 408.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.2719, allocations: 19.88 kB / 408.8 MB, free: 488 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007156/0.2726, allocations: 415.8 kB / 409.2 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.273, allocations: 0.7119 MB / 409.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.267e-05/0.2731, allocations: 20.86 kB / 409.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.2731, allocations: 11.44 kB / 409.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2731, allocations: 0 / 409.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of Templates: time 0.003175/0.2763, allocations: 0.8633 MB / 410.8 MB, free: 14.4 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches