Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001194/0.001194, allocations: 111.8 kB / 19.18 MB, free: 3.883 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.001249/0.001249, allocations: 204.9 kB / 22.13 MB, free: 0.9336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.413/1.413, allocations: 230.4 MB / 255.4 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 75.83 kB / 374.7 MB, free: 9.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.1005, allocations: 53.31 MB / 428 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00326/0.1038, allocations: 2.011 MB / 430.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009562/0.1047, allocations: 0.5764 MB / 430.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.988e-05/0.1048, allocations: 4 kB / 430.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.105, allocations: 23.78 kB / 430.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.533e-05/0.105, allocations: 39.64 kB / 430.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.1053, allocations: 47.94 kB / 430.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.1055, allocations: 155.4 kB / 430.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1056, allocations: 41.55 kB / 430.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.1058, allocations: 75.77 kB / 431 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.1059, allocations: 67.7 kB / 431.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.1059, allocations: 12 kB / 431.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.501e-05/0.106, allocations: 20 kB / 431.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.106, allocations: 31.91 kB / 431.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.793e-05/0.1061, allocations: 79.59 kB / 431.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.1063, allocations: 167.3 kB / 431.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1063, allocations: 4 kB / 431.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1063, allocations: 0 / 431.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1063, allocations: 0 / 431.4 MB, free: 1.004 MB / 350.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.0006571/0.107, allocations: 442.8 kB / 431.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.107, allocations: 12.03 kB / 431.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.1072, allocations: 28.83 kB / 431.9 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.1074, allocations: 212.1 kB / 432.1 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1074, allocations: 16.36 kB / 432.1 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.1075, allocations: 12.38 kB / 432.1 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.1078, allocations: 145.7 kB / 432.2 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1078, allocations: 3.953 kB / 432.2 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.1078, allocations: 8 kB / 432.2 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1078, allocations: 4 kB / 432.2 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1692/0.277, allocations: 90.61 kB / 432.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000748/0.2777, allocations: 0.5215 MB / 432.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.2779, allocations: 71.22 kB / 432.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.2779, allocations: 30.52 kB / 433 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.2779, allocations: 6.812 kB / 433 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.278, allocations: 34.34 kB / 433 MB, free: 11.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.278, allocations: 0 / 433 MB, free: 11.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008687/0.2788, allocations: 0.5997 MB / 433.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.2788, allocations: 56.03 kB / 433.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.2789, allocations: 130.2 kB / 433.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.2789, allocations: 29.52 kB / 433.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.279, allocations: 133.2 kB / 433.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.279, allocations: 46.38 kB / 434 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.2791, allocations: 33.39 kB / 434 MB, free: 10.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.165e-05/0.2791, allocations: 326.8 kB / 434.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.415e-05/0.2792, allocations: 30.72 kB / 434.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.2793, allocations: 92.53 kB / 434.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.2794, allocations: 129.8 kB / 434.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2794, allocations: 3.5 kB / 434.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002447/0.2797, allocations: 156.6 kB / 434.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2797, allocations: 5.906 kB / 434.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2797, allocations: 5.844 kB / 434.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2797, allocations: 1.781 kB / 434.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.2799, allocations: 34.95 kB / 434.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2799, allocations: 8.219 kB / 434.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.2799, allocations: 7.469 kB / 434.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.28, allocations: 14.19 kB / 434.8 MB, free: 9.859 MB / 350.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 6.431e-05/0.28, allocations: 129.6 kB / 434.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.2801, allocations: 11.08 kB / 435 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.2801, allocations: 10.81 kB / 435 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.2801, allocations: 0 / 435 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2801, allocations: 3.875 kB / 435 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2801, allocations: 3.859 kB / 435 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.2805, allocations: 446 kB / 435.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2805, allocations: 2.578 kB / 435.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.2806, allocations: 21.25 kB / 435.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2806, allocations: 7.062 kB / 435.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.2806, allocations: 9.562 kB / 435.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2806, allocations: 0 / 435.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2806, allocations: 3.375 kB / 435.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.2809, allocations: 246.3 kB / 435.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.2809, allocations: 89.22 kB / 435.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.2809, allocations: 13.44 kB / 435.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.281, allocations: 10.55 kB / 435.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.281, allocations: 4.656 kB / 435.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.281, allocations: 6.156 kB / 435.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.655e-05/0.2811, allocations: 96.47 kB / 435.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2811, allocations: 6.125 kB / 435.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.2813, allocations: 24.91 kB / 435.9 MB, free: 9.082 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 7.535e-05/0.2814, allocations: 103 kB / 436 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.2816, allocations: 87.64 kB / 436.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2816, allocations: 0 / 436.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.271e-05/0.2817, allocations: 39.97 kB / 436.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.282, allocations: 21.56 kB / 436.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006208/0.2826, allocations: 458.3 kB / 436.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.2827, allocations: 0.7194 MB / 437.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.2828, allocations: 15.05 kB / 437.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2828, allocations: 0 / 437.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of Templates: time 0.003247/0.286, allocations: 1.497 MB / 438.9 MB, free: 7.867 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.745213333051652]