Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 110.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 55.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2042, allocations: 50.55 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002905/0.2071, allocations: 2.001 MB / 411.9 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009194/0.2081, allocations: 0.5765 MB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.732e-05/0.2082, allocations: 0 / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.2083, allocations: 19.8 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.174e-05/0.2084, allocations: 35.64 kB / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.2086, allocations: 51.88 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.2088, allocations: 147.4 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.209, allocations: 81.48 kB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.2091, allocations: 67.77 kB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.2093, allocations: 63.7 kB / 413 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.2093, allocations: 16 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.386e-05/0.2093, allocations: 16 kB / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.2094, allocations: 27.92 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.828e-05/0.2095, allocations: 83.58 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.2097, allocations: 168.5 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2097, allocations: 8 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2097, allocations: 0 / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2097, allocations: 0 / 413.3 MB, free: 14.25 MB / 334.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.0005552/0.2103, allocations: 443 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2103, allocations: 8.031 kB / 413.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.2104, allocations: 20.75 kB / 413.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.2107, allocations: 216.1 kB / 413.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2107, allocations: 12.38 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.2108, allocations: 12.38 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.211, allocations: 145.6 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.211, allocations: 7.906 kB / 414.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.2111, allocations: 8 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2111, allocations: 4 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.2113, allocations: 91.88 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007215/0.212, allocations: 0.5328 MB / 414.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.2122, allocations: 74.55 kB / 414.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.59e-05/0.2123, allocations: 28.84 kB / 414.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.2123, allocations: 0 / 414.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.2123, allocations: 38.56 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.2123, allocations: 0 / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009207/0.2132, allocations: 0.5838 MB / 415.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.2133, allocations: 55.41 kB / 415.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.2134, allocations: 141.9 kB / 415.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.2134, allocations: 33.7 kB / 415.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.2135, allocations: 135.9 kB / 415.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.2135, allocations: 35.45 kB / 415.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.2136, allocations: 33.72 kB / 415.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.2137, allocations: 319 kB / 416.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.2138, allocations: 31.98 kB / 416.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.2139, allocations: 97.12 kB / 416.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.2141, allocations: 126.7 kB / 416.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2141, allocations: 0 / 416.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002651/0.2143, allocations: 161.3 kB / 416.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2144, allocations: 12.19 kB / 416.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2144, allocations: 0 / 416.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2144, allocations: 4 kB / 416.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.2146, allocations: 31.98 kB / 416.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2146, allocations: 11.88 kB / 416.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.397e-05/0.2146, allocations: 11.98 kB / 416.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.2147, allocations: 4 kB / 416.7 MB, free: 10.46 MB / 334.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.509e-05/0.2148, allocations: 125.8 kB / 416.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.2148, allocations: 11.81 kB / 416.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.2148, allocations: 16.72 kB / 416.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2149, allocations: 0 / 416.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2149, allocations: 4 kB / 416.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.2149, allocations: 88.94 kB / 416.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2149, allocations: 0 / 416.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.215, allocations: 8 kB / 416.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.2151, allocations: 11.92 kB / 417 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002989/0.2154, allocations: 196.9 kB / 417.1 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003217/0.2157, allocations: 310.6 kB / 417.4 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.35e-05/0.2158, allocations: 39.88 kB / 417.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.068e-05/0.2159, allocations: 110.4 kB / 417.6 MB, free: 9.5 MB / 334.1 MB Notification: Performance of Backend: time 3.3e-07/0.2159, allocations: 0 / 417.6 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004189/0.2163, allocations: 146.7 kB / 417.7 MB, free: 9.352 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007704/0.2171, allocations: 0.8317 MB / 418.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of Templates: time 0.00342/0.2205, allocations: 1.096 MB / 419.7 MB, free: 7.379 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches