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.001296/0.001296, allocations: 110.5 kB / 17.75 MB, free: 5.305 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.001309/0.00131, allocations: 191 kB / 18.68 MB, free: 4.383 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009683/0.0009684, allocations: 43.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2083, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002826/0.2111, allocations: 1.985 MB / 403.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007121/0.2119, allocations: 0.4986 MB / 403.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.212, allocations: 4 kB / 403.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.2121, allocations: 23.78 kB / 403.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.566e-05/0.2122, allocations: 35.66 kB / 403.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.2123, allocations: 35.94 kB / 404 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.2125, allocations: 151.4 kB / 404.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2127, allocations: 65.52 kB / 404.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.8e-05/0.2128, allocations: 75.66 kB / 404.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.2129, allocations: 67.69 kB / 404.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.2129, allocations: 16 kB / 404.4 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.623e-05/0.213, allocations: 12 kB / 404.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.213, allocations: 35.91 kB / 404.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.2131, allocations: 71.67 kB / 404.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.2133, allocations: 167.2 kB / 404.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2133, allocations: 0 / 404.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2133, allocations: 4 kB / 404.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2133, allocations: 0 / 404.6 MB, free: 5.629 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.0005326/0.2138, allocations: 446.8 kB / 405.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2139, allocations: 12.03 kB / 405.1 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.2139, allocations: 16.84 kB / 405.1 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.2141, allocations: 196.2 kB / 405.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2141, allocations: 12.38 kB / 405.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.2142, allocations: 28.27 kB / 405.3 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.2145, allocations: 146.9 kB / 405.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.2145, allocations: 0 / 405.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.2145, allocations: 8 kB / 405.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2145, allocations: 4 kB / 405.5 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.2147, allocations: 95.69 kB / 405.6 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007073/0.2154, allocations: 0.525 MB / 406.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.2156, allocations: 74.55 kB / 406.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.938e-05/0.2157, allocations: 40.97 kB / 406.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.2157, allocations: 0 / 406.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.2157, allocations: 30.56 kB / 406.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.2157, allocations: 0 / 406.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.000892/0.2166, allocations: 0.6068 MB / 406.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.2167, allocations: 51.41 kB / 406.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.2168, allocations: 133 kB / 407 MB, free: 2.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.2168, allocations: 29.7 kB / 407.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.2169, allocations: 144.1 kB / 407.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.2169, allocations: 39.64 kB / 407.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.2169, allocations: 37.66 kB / 407.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.342e-05/0.217, allocations: 318.8 kB / 407.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.2171, allocations: 35.98 kB / 407.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.2172, allocations: 89.89 kB / 407.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.2174, allocations: 134.7 kB / 407.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.2174, allocations: 0 / 407.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002508/0.2177, allocations: 157.4 kB / 408 MB, free: 1.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2177, allocations: 8 kB / 408 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2177, allocations: 0 / 408 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2177, allocations: 4 kB / 408 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.2179, allocations: 35.92 kB / 408 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.2179, allocations: 8.5 kB / 408.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/0.218, allocations: 8 kB / 408.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.218, allocations: 7.984 kB / 408.1 MB, free: 1.836 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.508e-05/0.2181, allocations: 130 kB / 408.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.2181, allocations: 7.953 kB / 408.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.2182, allocations: 12.42 kB / 408.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2182, allocations: 11.92 kB / 408.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2182, allocations: 0 / 408.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.2182, allocations: 88.98 kB / 408.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.2183, allocations: 7.938 kB / 408.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.2183, allocations: 4 kB / 408.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.2184, allocations: 7.984 kB / 408.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002845/0.2187, allocations: 184.9 kB / 408.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003223/0.219, allocations: 322.5 kB / 408.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.183e-05/0.2191, allocations: 40 kB / 408.9 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.722e-05/0.2192, allocations: 91.27 kB / 409 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of Backend: time 2.1e-07/0.2192, allocations: 8.062 kB / 409 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003913/0.2196, allocations: 138.2 kB / 409.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007414/0.2203, allocations: 0.8308 MB / 409.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of Templates: time 0.003184/0.2235, allocations: 1.055 MB / 411 MB, free: 14.82 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