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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001884/0.001884, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002418/0.002418, allocations: 211.8 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 230.3 MB / 258 MB, free: 8.273 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 63.89 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2722, allocations: 53.36 MB / 432.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003744/0.276, allocations: 2.017 MB / 434.1 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.2773, allocations: 0.5882 MB / 434.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.2774, allocations: 7.938 kB / 434.7 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.2776, allocations: 23.78 kB / 434.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.2777, allocations: 27.66 kB / 434.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.278, allocations: 51.94 kB / 434.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.2782, allocations: 151.4 kB / 435 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.2784, allocations: 53.7 kB / 435 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.2786, allocations: 67.78 kB / 435.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.2788, allocations: 71.69 kB / 435.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.2788, allocations: 16 kB / 435.2 MB, free: 4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.956e-05/0.2789, allocations: 20 kB / 435.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.2789, allocations: 27.92 kB / 435.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.112e-05/0.279, allocations: 79.59 kB / 435.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.2793, allocations: 176.9 kB / 435.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2794, allocations: 0 / 435.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2794, allocations: 0 / 435.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.2794, allocations: 0 / 435.5 MB, free: 3.707 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.0007151/0.2801, allocations: 373.7 kB / 435.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2801, allocations: 8.031 kB / 435.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.2803, allocations: 24.83 kB / 435.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.2806, allocations: 146.3 kB / 436 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2806, allocations: 12.38 kB / 436 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.2806, allocations: 20.38 kB / 436 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.281, allocations: 150 kB / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.281, allocations: 11.95 kB / 436.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.281, allocations: 4 kB / 436.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.281, allocations: 4 kB / 436.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.2813, allocations: 91.88 kB / 436.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008739/0.2821, allocations: 483.2 kB / 436.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.2823, allocations: 78.5 kB / 436.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.2824, allocations: 28.84 kB / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.2824, allocations: 0 / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.2824, allocations: 34.56 kB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.41e-07/0.2824, allocations: 0 / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001054/0.2835, allocations: 458.9 kB / 437.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.2835, allocations: 55.34 kB / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.2837, allocations: 130 kB / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.2837, allocations: 33.7 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.2838, allocations: 136.1 kB / 437.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.2838, allocations: 47.64 kB / 437.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/0.2839, allocations: 29.72 kB / 437.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.284, allocations: 318.8 kB / 438.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.744e-05/0.2841, allocations: 31.98 kB / 438.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.2842, allocations: 93.59 kB / 438.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.2844, allocations: 131.8 kB / 438.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.2844, allocations: 3.938 kB / 438.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003057/0.2847, allocations: 157.3 kB / 438.5 MB, free: 404 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.2848, allocations: 8 kB / 438.5 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2848, allocations: 0 / 438.5 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.2848, allocations: 4 kB / 438.5 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.285, allocations: 31.98 kB / 438.5 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.285, allocations: 12.11 kB / 438.6 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.407e-05/0.2851, allocations: 15.94 kB / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.2851, allocations: 4 kB / 438.6 MB, free: 328 kB / 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 0.0001247/0.2852, allocations: 129.8 kB / 438.7 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.2852, allocations: 7.953 kB / 438.7 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.2853, allocations: 8.719 kB / 438.7 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2853, allocations: 4 kB / 438.7 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.2853, allocations: 3.938 kB / 438.7 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2853, allocations: 3.984 kB / 438.7 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006095/0.2859, allocations: 415.1 kB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2859, allocations: 0 / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.286, allocations: 27.92 kB / 439.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.286, allocations: 4.047 kB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.2861, allocations: 7.984 kB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2861, allocations: 3.984 kB / 439.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.2861, allocations: 4.062 kB / 439.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.2865, allocations: 257.1 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.2865, allocations: 11.91 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.2865, allocations: 4 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.787e-05/0.2866, allocations: 7.984 kB / 439.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.2866, allocations: 8.047 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.2866, allocations: 4 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.508e-05/0.2867, allocations: 103.1 kB / 439.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2867, allocations: 0 / 439.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.287, allocations: 31.94 kB / 439.6 MB, free: 15.21 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001564/0.2872, allocations: 91.25 kB / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.2874, allocations: 95.83 kB / 439.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2874, allocations: 0 / 439.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.88e-05/0.2875, allocations: 39.92 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.2878, allocations: 18.44 kB / 439.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008373/0.2887, allocations: 428.7 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.289, allocations: 0.7119 MB / 441 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.657e-05/0.2891, allocations: 12.97 kB / 441 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.2891, allocations: 15.44 kB / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2891, allocations: 0 / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Templates: time 0.004113/0.2932, allocations: 0.9648 MB / 442 MB, free: 12.78 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.407027505338192]