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.002191/0.002191, allocations: 95.55 kB / 21.73 MB, free: 2.688 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.001877/0.001877, allocations: 164.1 kB / 25.03 MB, free: 8.426 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 1.33/1.33, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.533e-06/1.533e-06, allocations: 0 / 250.3 MB, free: 3.949 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.8e-05, allocations: 6.312 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003674/0.003702, allocations: 1.967 MB / 252.3 MB, free: 1.961 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.004723, allocations: 0.5269 MB / 252.8 MB, free: 1.426 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.004815, allocations: 4 kB / 252.9 MB, free: 1.422 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.004949, allocations: 19.8 kB / 252.9 MB, free: 1.402 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.34e-05/0.005043, allocations: 35.64 kB / 252.9 MB, free: 1.367 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.005242, allocations: 43.88 kB / 252.9 MB, free: 1.324 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.005464, allocations: 159.3 kB / 253.1 MB, free: 1.168 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.005618, allocations: 49.7 kB / 253.2 MB, free: 1.121 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.005793, allocations: 91.84 kB / 253.2 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.005908, allocations: 51.81 kB / 253.3 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.00594, allocations: 12 kB / 253.3 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.056e-05/0.00597, allocations: 16 kB / 253.3 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.006014, allocations: 31.91 kB / 253.4 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.005e-05/0.006084, allocations: 47.91 kB / 253.4 MB, free: 0.875 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.00634, allocations: 171.4 kB / 253.6 MB, free: 0.707 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.006342, allocations: 0 / 253.6 MB, free: 0.707 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006343, allocations: 4 kB / 253.6 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002381/0.006581, allocations: 3.984 kB / 253.6 MB, free: 0.6992 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.0006954/0.007276, allocations: 475.7 kB / 254 MB, free: 204 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.007312, allocations: 11.98 kB / 254 MB, free: 192 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.007383, allocations: 28.84 kB / 254.1 MB, free: 164 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.007634, allocations: 152.4 kB / 254.2 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.007651, allocations: 8.375 kB / 254.2 MB, free: 15.97 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.007692, allocations: 20.38 kB / 254.3 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.00798, allocations: 137.9 kB / 254.4 MB, free: 15.81 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.007998, allocations: 4.141 kB / 254.4 MB, free: 15.81 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.008015, allocations: 4.375 kB / 254.4 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.008024, allocations: 7.938 kB / 254.4 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.008233, allocations: 83.94 kB / 254.5 MB, free: 15.71 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008636/0.009096, allocations: 495.1 kB / 255 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.009285, allocations: 86.97 kB / 255.1 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.033e-05/0.009365, allocations: 31.67 kB / 255.1 MB, free: 15.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.009388, allocations: 7.938 kB / 255.1 MB, free: 15.06 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.009421, allocations: 37.39 kB / 255.1 MB, free: 15.01 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.009422, allocations: 0 / 255.1 MB, free: 15.01 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.001022/0.01044, allocations: 471.7 kB / 255.6 MB, free: 14.49 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.01049, allocations: 55.39 kB / 255.6 MB, free: 14.42 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.01067, allocations: 197.9 kB / 255.8 MB, free: 14.21 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.0107, allocations: 29.69 kB / 255.9 MB, free: 14.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.01083, allocations: 187 kB / 256.1 MB, free: 13.99 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.01088, allocations: 47.62 kB / 256.1 MB, free: 13.94 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.01095, allocations: 43.36 kB / 256.1 MB, free: 13.89 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002752/0.01122, allocations: 0.5001 MB / 256.6 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.16e-05/0.01131, allocations: 27.98 kB / 256.7 MB, free: 13.35 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.01147, allocations: 113.4 kB / 256.8 MB, free: 13.21 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.01172, allocations: 161.3 kB / 256.9 MB, free: 13.02 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.01172, allocations: 0 / 256.9 MB, free: 13.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002952/0.01202, allocations: 169.2 kB / 257.1 MB, free: 12.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.01203, allocations: 4 kB / 257.1 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.01204, allocations: 4 kB / 257.1 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.01205, allocations: 0 / 257.1 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.01221, allocations: 36.17 kB / 257.1 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.01222, allocations: 11.92 kB / 257.2 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-05/0.01231, allocations: 8 kB / 257.2 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.01232, allocations: 4 kB / 257.2 MB, free: 12.78 MB / 250.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 0.0001599/0.01248, allocations: 176.5 kB / 257.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.01252, allocations: 11.95 kB / 257.4 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.379e-05/0.01256, allocations: 12.44 kB / 257.4 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.01257, allocations: 4 kB / 257.4 MB, free: 12.56 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.01257, allocations: 0 / 257.4 MB, free: 12.56 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.01258, allocations: 3.984 kB / 257.4 MB, free: 12.56 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.01324, allocations: 449.6 kB / 257.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01324, allocations: 0 / 257.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.01338, allocations: 27.92 kB / 257.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01338, allocations: 0 / 257.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.0134, allocations: 11.98 kB / 257.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.0134, allocations: 0 / 257.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.01341, allocations: 3.938 kB / 257.9 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.01382, allocations: 307.1 kB / 258.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.01384, allocations: 12.05 kB / 258.2 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.01386, allocations: 4 kB / 258.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.01393, allocations: 0 / 258.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.01398, allocations: 15.92 kB / 258.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.014, allocations: 8 kB / 258.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.01411, allocations: 143.2 kB / 258.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01411, allocations: 0 / 258.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002753/0.01439, allocations: 28 kB / 258.4 MB, free: 11.49 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 0.0001235/0.01451, allocations: 95.23 kB / 258.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.01476, allocations: 99.53 kB / 258.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01476, allocations: 0 / 258.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.26e-05/0.01485, allocations: 47.61 kB / 258.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.01517, allocations: 15.98 kB / 258.6 MB, free: 11.22 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007855/0.01595, allocations: 385.9 kB / 259 MB, free: 10.81 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.01608, allocations: 97.62 kB / 259.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.298e-05/0.01614, allocations: 12.95 kB / 259.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.01618, allocations: 16.5 kB / 259.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01618, allocations: 0 / 259.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of Templates: time 0.00444/0.02062, allocations: 0.8365 MB / 259.9 MB, free: 9.832 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.273926127003506]