Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008495/0.0008495, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 164.8 kB / 25.33 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9415/0.9415, allocations: 158.6 MB / 187.2 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 251 MB, free: 7.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.269e-05/3.409e-05, allocations: 2.312 kB / 251 MB, free: 7.535 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00255/0.002584, allocations: 2.003 MB / 253 MB, free: 5.516 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008005/0.003384, allocations: 0.5347 MB / 253.6 MB, free: 4.973 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.003461, allocations: 0 / 253.6 MB, free: 4.973 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.361e-05/0.003545, allocations: 19.8 kB / 253.6 MB, free: 4.953 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.215e-05/0.003597, allocations: 31.66 kB / 253.6 MB, free: 4.922 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.003749, allocations: 51.81 kB / 253.7 MB, free: 4.871 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.003889, allocations: 151.3 kB / 253.8 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.004008, allocations: 57.62 kB / 253.9 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.004114, allocations: 91.86 kB / 254 MB, free: 4.578 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.004188, allocations: 51.8 kB / 254 MB, free: 4.527 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.004209, allocations: 16 kB / 254 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.624e-05/0.004225, allocations: 16 kB / 254 MB, free: 4.496 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.00425, allocations: 27.91 kB / 254.1 MB, free: 4.469 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.004292, allocations: 47.91 kB / 254.1 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.004425, allocations: 111.6 kB / 254.2 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004427, allocations: 0 / 254.2 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004427, allocations: 0 / 254.2 MB, free: 4.312 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.004431, allocations: 3.938 kB / 254.2 MB, free: 4.309 MB / 234.7 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.0003748/0.004806, allocations: 472 kB / 254.7 MB, free: 3.812 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.004837, allocations: 11.98 kB / 254.7 MB, free: 3.801 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.004883, allocations: 28.84 kB / 254.7 MB, free: 3.773 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.005012, allocations: 148.4 kB / 254.9 MB, free: 3.602 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.005024, allocations: 8.375 kB / 254.9 MB, free: 3.594 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.005053, allocations: 20.36 kB / 254.9 MB, free: 3.574 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.005209, allocations: 122.6 kB / 255 MB, free: 3.445 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.005219, allocations: 8.141 kB / 255 MB, free: 3.438 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.005231, allocations: 4.375 kB / 255 MB, free: 3.434 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.005239, allocations: 11.94 kB / 255 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.005321, allocations: 51.95 kB / 255.1 MB, free: 3.371 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.00578, allocations: 471 kB / 255.6 MB, free: 2.875 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.00588, allocations: 62.97 kB / 255.6 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.005909, allocations: 23.69 kB / 255.6 MB, free: 2.773 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.005923, allocations: 4 kB / 255.6 MB, free: 2.77 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.005941, allocations: 33.39 kB / 255.7 MB, free: 2.727 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.005942, allocations: 4 kB / 255.7 MB, free: 2.723 MB / 234.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005182/0.00646, allocations: 416.7 kB / 256.1 MB, free: 2.25 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.006483, allocations: 51.41 kB / 256.1 MB, free: 2.188 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.006571, allocations: 189.8 kB / 256.3 MB, free: 1.984 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.00658, allocations: 25.7 kB / 256.3 MB, free: 1.953 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.006645, allocations: 182.9 kB / 256.5 MB, free: 1.77 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.006668, allocations: 39.66 kB / 256.6 MB, free: 1.73 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.006706, allocations: 43.36 kB / 256.6 MB, free: 1.68 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.006822, allocations: 0.5 MB / 257.1 MB, free: 1.168 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.006849, allocations: 15.98 kB / 257.1 MB, free: 1.152 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/0.006914, allocations: 93.48 kB / 257.2 MB, free: 1.027 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.276e-05/0.007007, allocations: 121.4 kB / 257.3 MB, free: 0.875 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.007008, allocations: 0 / 257.3 MB, free: 0.875 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001307/0.007138, allocations: 141.3 kB / 257.5 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.00715, allocations: 8 kB / 257.5 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.007156, allocations: 3.984 kB / 257.5 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.007169, allocations: 8 kB / 257.5 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.128e-05/0.007261, allocations: 31.98 kB / 257.5 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.007267, allocations: 3.938 kB / 257.5 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/0.007299, allocations: 8 kB / 257.5 MB, free: 0.668 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.007306, allocations: 8 kB / 257.5 MB, free: 0.6602 MB / 234.7 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 6.506e-05/0.007371, allocations: 172.6 kB / 257.7 MB, free: 492 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.007391, allocations: 11.95 kB / 257.7 MB, free: 480 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.007421, allocations: 16.42 kB / 257.7 MB, free: 460 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.007422, allocations: 0 / 257.7 MB, free: 460 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.007425, allocations: 0 / 257.7 MB, free: 460 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.007428, allocations: 0 / 257.7 MB, free: 460 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.007717, allocations: 408.6 kB / 258.1 MB, free: 0 / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.007718, allocations: 0 / 258.1 MB, free: 0 / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.687e-05/0.007805, allocations: 27.97 kB / 258.2 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.007809, allocations: 7.984 kB / 258.2 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.007817, allocations: 8.062 kB / 258.2 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.007818, allocations: 0 / 258.2 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.007822, allocations: 11.92 kB / 258.2 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.00799, allocations: 267.2 kB / 258.5 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.008, allocations: 11.91 kB / 258.5 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.008009, allocations: 0 / 258.5 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.703e-05/0.008047, allocations: 4 kB / 258.5 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.008075, allocations: 15.92 kB / 258.5 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.008079, allocations: 4 kB / 258.5 MB, free: 15.62 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.61e-05/0.008125, allocations: 142.1 kB / 258.6 MB, free: 15.48 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008125, allocations: 4.031 kB / 258.6 MB, free: 15.48 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001668/0.008292, allocations: 28 kB / 258.7 MB, free: 15.45 MB / 250.7 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 5.622e-05/0.008348, allocations: 91.36 kB / 258.7 MB, free: 15.36 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.008454, allocations: 75.47 kB / 258.8 MB, free: 15.28 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.008455, allocations: 0 / 258.8 MB, free: 15.28 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.45e-05/0.008489, allocations: 39.61 kB / 258.9 MB, free: 15.23 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.008667, allocations: 12.48 kB / 258.9 MB, free: 15.22 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.00924, allocations: 388.9 kB / 259.2 MB, free: 14.8 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.714e-05/0.009277, allocations: 67.34 kB / 259.3 MB, free: 14.72 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.232e-05/0.009309, allocations: 16.97 kB / 259.3 MB, free: 14.7 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.009336, allocations: 12.5 kB / 259.3 MB, free: 14.69 MB / 250.7 MB Notification: Performance of SimCode: time 6.12e-07/0.009337, allocations: 0 / 259.3 MB, free: 14.69 MB / 250.7 MB Notification: Performance of Templates: time 0.002599/0.01194, allocations: 0.8462 MB / 260.2 MB, free: 13.85 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7864608480595052]