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.001856/0.001856, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001559/0.001559, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.5/1.5, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 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 1.563e-06/1.563e-06, allocations: 0 / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.468e-05, allocations: 2.312 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003398/0.003423, allocations: 1.941 MB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.004486, allocations: 0.5298 MB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.799e-05/0.004584, allocations: 7.938 kB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.004718, allocations: 23.8 kB / 274.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.955e-05/0.004807, allocations: 35.64 kB / 274.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.005053, allocations: 59.8 kB / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.005272, allocations: 155.3 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.005416, allocations: 49.77 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.005637, allocations: 99.78 kB / 275.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.005738, allocations: 43.88 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.005768, allocations: 16 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.653e-05/0.005825, allocations: 23.98 kB / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.005966, allocations: 31.91 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.006037, allocations: 51.84 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.006302, allocations: 175.4 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.006304, allocations: 3.938 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006305, allocations: 0 / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.00631, allocations: 4 kB / 275.4 MB, free: 14.58 MB / 266.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.0006426/0.006952, allocations: 365.7 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.006988, allocations: 15.98 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.007169, allocations: 40.83 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.007419, allocations: 141.6 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.007451, allocations: 16.38 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.007494, allocations: 12.38 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.007813, allocations: 149.6 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.00783, allocations: 4.141 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.007852, allocations: 8.375 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.007862, allocations: 7.938 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.008075, allocations: 91.94 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007879/0.008863, allocations: 419.8 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.00904, allocations: 70.55 kB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.413e-05/0.009114, allocations: 28.84 kB / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.009131, allocations: 4 kB / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.009169, allocations: 34.69 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.00917, allocations: 4 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.001061/0.01023, allocations: 471.2 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.01028, allocations: 51.41 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.01043, allocations: 138 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.01045, allocations: 25.7 kB / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01056, allocations: 128.3 kB / 277.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.0106, allocations: 47.64 kB / 277.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.01066, allocations: 33.7 kB / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.01083, allocations: 326.8 kB / 278 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.595e-05/0.01092, allocations: 31.98 kB / 278 MB, free: 11.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.01106, allocations: 98.34 kB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.01128, allocations: 126.7 kB / 278.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01128, allocations: 0 / 278.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003173/0.01159, allocations: 169.4 kB / 278.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.01161, allocations: 4 kB / 278.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.01162, allocations: 4 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.01163, allocations: 0 / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.0118, allocations: 39.92 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01181, allocations: 192 / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.01188, allocations: 12 kB / 278.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.01189, allocations: 8 kB / 278.5 MB, free: 11.25 MB / 266.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.0001221/0.01202, allocations: 133.6 kB / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.01206, allocations: 15.95 kB / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.01209, allocations: 12.78 kB / 278.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.01209, allocations: 0 / 278.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.0121, allocations: 0 / 278.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.0121, allocations: 0 / 278.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.01268, allocations: 379.7 kB / 279 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01268, allocations: 3.938 kB / 279 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.01282, allocations: 23.98 kB / 279 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01282, allocations: 0 / 279 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.01283, allocations: 7.984 kB / 279 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01283, allocations: 0 / 279 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.01284, allocations: 3.938 kB / 279 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.01323, allocations: 249.1 kB / 279.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.01325, allocations: 12.11 kB / 279.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.01327, allocations: 11.98 kB / 279.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.487e-05/0.01336, allocations: 0 / 279.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.01341, allocations: 15.92 kB / 279.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.01341, allocations: 4 kB / 279.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.64e-05/0.01349, allocations: 98.22 kB / 279.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01349, allocations: 0 / 279.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002733/0.01376, allocations: 28 kB / 279.5 MB, free: 10.19 MB / 266.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.0001178/0.01388, allocations: 103.1 kB / 279.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.01411, allocations: 91.83 kB / 279.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01412, allocations: 0 / 279.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.803e-05/0.01421, allocations: 39.92 kB / 279.7 MB, free: 9.953 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.01452, allocations: 12.91 kB / 279.7 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.01526, allocations: 370.8 kB / 280.1 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.01537, allocations: 101.6 kB / 280.2 MB, free: 9.438 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.046e-05/0.01543, allocations: 16.95 kB / 280.2 MB, free: 9.414 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.01547, allocations: 16.5 kB / 280.2 MB, free: 9.398 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01547, allocations: 0 / 280.2 MB, free: 9.398 MB / 266.7 MB Notification: Performance of Templates: time 0.003724/0.01919, allocations: 0.8425 MB / 281 MB, free: 8.559 MB / 266.7 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.219658951973543]