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.00119/0.001191, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001212/0.001212, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.31/1.31, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009166/0.0009166, allocations: 47.92 kB / 352 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2119, allocations: 49.44 MB / 401.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002866/0.2148, allocations: 1.985 MB / 403.4 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007183/0.2155, allocations: 0.5025 MB / 403.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.2156, allocations: 4 kB / 403.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.2157, allocations: 23.72 kB / 403.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.271e-05/0.2158, allocations: 31.7 kB / 403.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.216, allocations: 43.95 kB / 404 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.2162, allocations: 143.4 kB / 404.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.2163, allocations: 69.52 kB / 404.2 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.69e-05/0.2165, allocations: 67.72 kB / 404.3 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.2166, allocations: 71.69 kB / 404.3 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.2166, allocations: 16 kB / 404.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.326e-05/0.2166, allocations: 16 kB / 404.4 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.2167, allocations: 31.86 kB / 404.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.921e-05/0.2167, allocations: 71.66 kB / 404.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.2169, allocations: 168.5 kB / 404.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2169, allocations: 0 / 404.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2169, allocations: 0 / 404.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.217, allocations: 0 / 404.6 MB, free: 5.66 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.0005311/0.2175, allocations: 447 kB / 405.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.2175, allocations: 8.031 kB / 405.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.2176, allocations: 16.75 kB / 405.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.2178, allocations: 200.1 kB / 405.3 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.2178, allocations: 12.38 kB / 405.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.2179, allocations: 20.38 kB / 405.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.2181, allocations: 142.9 kB / 405.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2182, allocations: 4 kB / 405.5 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.2182, allocations: 4 kB / 405.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2182, allocations: 8 kB / 405.5 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.2184, allocations: 91.69 kB / 405.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000717/0.2191, allocations: 0.5287 MB / 406.1 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.2193, allocations: 78.48 kB / 406.2 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.585e-05/0.2194, allocations: 32.84 kB / 406.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.2194, allocations: 7.984 kB / 406.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.2194, allocations: 30.56 kB / 406.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.2194, allocations: 0 / 406.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009132/0.2203, allocations: 0.5993 MB / 406.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.2204, allocations: 55.34 kB / 406.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.2205, allocations: 137.6 kB / 407 MB, free: 2.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.2205, allocations: 29.7 kB / 407.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.2206, allocations: 128 kB / 407.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.2206, allocations: 39.45 kB / 407.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.2207, allocations: 37.61 kB / 407.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2208, allocations: 326.8 kB / 407.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.2208, allocations: 27.98 kB / 407.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.221, allocations: 86.8 kB / 407.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.2211, allocations: 134.7 kB / 407.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2212, allocations: 4 kB / 407.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002639/0.2214, allocations: 157.4 kB / 408 MB, free: 1.949 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2215, allocations: 7.984 kB / 408 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2215, allocations: 4 kB / 408 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2215, allocations: 4 kB / 408 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.2216, allocations: 35.92 kB / 408 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.2217, allocations: 3.938 kB / 408 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.23e-05/0.2217, allocations: 4 kB / 408 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.2218, allocations: 16.19 kB / 408.1 MB, free: 1.875 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 8.316e-05/0.2218, allocations: 125.7 kB / 408.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.2219, allocations: 15.89 kB / 408.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.2219, allocations: 12.38 kB / 408.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2219, allocations: 0 / 408.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2219, allocations: 288 / 408.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.222, allocations: 88.95 kB / 408.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.222, allocations: 3.938 kB / 408.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/0.2221, allocations: 15.92 kB / 408.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.2222, allocations: 12 kB / 408.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002964/0.2225, allocations: 188.8 kB / 408.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003283/0.2228, allocations: 322.6 kB / 408.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.691e-05/0.2229, allocations: 32 kB / 408.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.019e-05/0.2229, allocations: 107 kB / 409 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of Backend: time 2.61e-07/0.223, allocations: 0 / 409 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.2234, allocations: 138.2 kB / 409.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007712/0.2241, allocations: 0.8352 MB / 409.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of Templates: time 0.00323/0.2274, allocations: 1.036 MB / 411 MB, free: 14.86 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/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