Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.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) 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(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001411/0.001411, allocations: 183.3 kB / 18.04 MB, free: 3.656 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.489/1.489, allocations: 205.4 MB / 224.2 MB, free: 9.016 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.0007328/0.0007328, allocations: 93.47 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003046, allocations: 8 kB / 329.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.197, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0822/0.2793, allocations: 77.31 MB / 454.3 MB, free: 3.215 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.2796, allocations: 75.95 kB / 454.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007054/0.2867, allocations: 2.586 MB / 457 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2867, allocations: 192 / 457 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.2867, allocations: 8 kB / 457 MB, free: 0.5469 MB / 330.7 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.0004457/0.2872, allocations: 415 kB / 457.4 MB, free: 92 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.2872, allocations: 12.03 kB / 457.4 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.2873, allocations: 12.84 kB / 457.4 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.2875, allocations: 200.1 kB / 457.6 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.2875, allocations: 12.38 kB / 457.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.2875, allocations: 12.38 kB / 457.6 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.2878, allocations: 150.1 kB / 457.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.2878, allocations: 8.094 kB / 457.8 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.2878, allocations: 7.938 kB / 457.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2879, allocations: 4 kB / 457.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.2881, allocations: 95.94 kB / 457.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007564/0.2888, allocations: 0.5404 MB / 458.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.289, allocations: 82.5 kB / 458.5 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.2891, allocations: 32.84 kB / 458.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.2891, allocations: 4 kB / 458.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.2891, allocations: 30.56 kB / 458.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.2891, allocations: 0 / 458.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009468/0.2901, allocations: 0.6068 MB / 459.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.2901, allocations: 51.41 kB / 459.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2903, allocations: 141.7 kB / 459.4 MB, free: 13.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.2903, allocations: 25.7 kB / 459.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.2904, allocations: 135.9 kB / 459.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.2904, allocations: 39.45 kB / 459.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.2904, allocations: 0 / 459.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2905, allocations: 322.8 kB / 459.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.2906, allocations: 35.98 kB / 459.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.2907, allocations: 88.91 kB / 460 MB, free: 13.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.2909, allocations: 134.7 kB / 460.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2909, allocations: 0 / 460.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000261/0.2912, allocations: 157.4 kB / 460.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2912, allocations: 6.188 kB / 460.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2913, allocations: 8 kB / 460.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2913, allocations: 0 / 460.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.2914, allocations: 47.91 kB / 460.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2914, allocations: 0 / 460.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/0.2915, allocations: 11.94 kB / 460.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.2915, allocations: 8.75 kB / 460.4 MB, free: 12.8 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.62e-05/0.2916, allocations: 133.7 kB / 460.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.2917, allocations: 7.906 kB / 460.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.2917, allocations: 16.36 kB / 460.5 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.2917, allocations: 4 kB / 460.5 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2917, allocations: 3.938 kB / 460.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2918, allocations: 7.875 kB / 460.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/0.2923, allocations: 448 kB / 461 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2923, allocations: 4 kB / 461 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.2924, allocations: 31.86 kB / 461 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2924, allocations: 0 / 461 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2925, allocations: 4 kB / 461 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2925, allocations: 0 / 461 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2925, allocations: 4.062 kB / 461 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.2928, allocations: 249.1 kB / 461.3 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.2928, allocations: 92.98 kB / 461.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.2929, allocations: 8.062 kB / 461.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.293, allocations: 0 / 461.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.293, allocations: 11.98 kB / 461.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.293, allocations: 7.938 kB / 461.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.159e-05/0.2931, allocations: 98.92 kB / 461.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2931, allocations: 0 / 461.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000255/0.2933, allocations: 28 kB / 461.5 MB, free: 11.55 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001049/0.2935, allocations: 107.2 kB / 461.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.2937, allocations: 87.84 kB / 461.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2937, allocations: 0 / 461.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.002e-05/0.2938, allocations: 39.92 kB / 461.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.2941, allocations: 20.42 kB / 461.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007354/0.2948, allocations: 0.5192 MB / 462.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.2951, allocations: 0.716 MB / 463 MB, free: 10 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.851e-05/0.2952, allocations: 17.34 kB / 463 MB, free: 9.977 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.2952, allocations: 11.44 kB / 463 MB, free: 9.969 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2952, allocations: 0 / 463 MB, free: 9.969 MB / 346.7 MB Notification: Performance of Templates: time 0.002806/0.298, allocations: 0.7913 MB / 463.8 MB, free: 9.18 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches