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.001337/0.001337, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001654, allocations: 206.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2199, allocations: 50.54 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002812/0.2228, allocations: 1.997 MB / 411.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008712/0.2237, allocations: 0.5765 MB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.921e-05/0.2238, allocations: 4 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.2239, allocations: 23.78 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.68e-05/0.224, allocations: 39.64 kB / 412.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.2242, allocations: 47.89 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.2244, allocations: 151.4 kB / 412.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.2246, allocations: 69.5 kB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.2247, allocations: 71.77 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.2248, allocations: 67.7 kB / 413 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.2249, allocations: 12 kB / 413 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.549e-05/0.2249, allocations: 20 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.039e-05/0.225, allocations: 35.91 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.6e-05/0.225, allocations: 79.59 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.2253, allocations: 167.1 kB / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2253, allocations: 0 / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.634e-06/0.2253, allocations: 4 kB / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.465e-06/0.2253, allocations: 0 / 413.3 MB, free: 14.27 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.0005553/0.2259, allocations: 446.8 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.2259, allocations: 8.031 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.2261, allocations: 28.83 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.2263, allocations: 208.1 kB / 413.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2263, allocations: 8.375 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.2263, allocations: 20.38 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.2266, allocations: 145.7 kB / 414.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.2266, allocations: 11.88 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.2267, allocations: 8 kB / 414.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2267, allocations: 0 / 414.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.2269, allocations: 95.83 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.2276, allocations: 0.5253 MB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.2278, allocations: 74.55 kB / 414.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.972e-05/0.2279, allocations: 32.84 kB / 414.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.2279, allocations: 0 / 414.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.2279, allocations: 34.56 kB / 414.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.2279, allocations: 0 / 414.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009145/0.2288, allocations: 0.6026 MB / 415.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.2289, allocations: 51.41 kB / 415.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/0.229, allocations: 133.6 kB / 415.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.229, allocations: 33.64 kB / 415.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.2291, allocations: 140.1 kB / 415.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.2291, allocations: 43.62 kB / 415.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.2292, allocations: 33.72 kB / 415.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.2293, allocations: 322.8 kB / 416.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.2294, allocations: 31.97 kB / 416.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.2295, allocations: 90.06 kB / 416.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.2297, allocations: 138.7 kB / 416.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2297, allocations: 0 / 416.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002573/0.2299, allocations: 157.4 kB / 416.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.23, allocations: 4 kB / 416.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.23, allocations: 4 kB / 416.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.23, allocations: 0 / 416.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.2301, allocations: 36.17 kB / 416.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2302, allocations: 15.86 kB / 416.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-05/0.2302, allocations: 8 kB / 416.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.2303, allocations: 8 kB / 416.7 MB, free: 10.45 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 8.517e-05/0.2304, allocations: 125.8 kB / 416.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.2304, allocations: 11.95 kB / 416.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.2304, allocations: 8.719 kB / 416.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2304, allocations: 3.984 kB / 416.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2305, allocations: 0 / 416.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.2305, allocations: 93 kB / 417 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.2305, allocations: 4 kB / 417 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.2306, allocations: 4 kB / 417 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.2307, allocations: 7.922 kB / 417 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002951/0.231, allocations: 188.9 kB / 417.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003321/0.2313, allocations: 322.6 kB / 417.5 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.914e-05/0.2314, allocations: 39.89 kB / 417.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.364e-05/0.2315, allocations: 95.27 kB / 417.6 MB, free: 9.512 MB / 334.1 MB Notification: Performance of Backend: time 3.01e-07/0.2315, allocations: 0 / 417.6 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000442/0.2319, allocations: 145.4 kB / 417.7 MB, free: 9.367 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007639/0.2327, allocations: 0.8546 MB / 418.6 MB, free: 8.465 MB / 334.1 MB Notification: Performance of Templates: time 0.003403/0.2361, allocations: 1.096 MB / 419.7 MB, free: 7.375 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