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.001342/0.001342, allocations: 86.03 kB / 22 MB, free: 5.18 MB / 14.72 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.001365/0.001365, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 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.41/1.41, allocations: 158.6 MB / 187 MB, free: 6.23 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 55.92 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2221, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003231/0.2253, allocations: 1.895 MB / 350.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009174/0.2262, allocations: 0.5267 MB / 350.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.2263, allocations: 7.938 kB / 350.9 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.2265, allocations: 23.78 kB / 351 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8e-05/0.2265, allocations: 27.72 kB / 351 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.2267, allocations: 43.88 kB / 351 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.2269, allocations: 151.4 kB / 351.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.2271, allocations: 53.62 kB / 351.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.2272, allocations: 59.84 kB / 351.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.2273, allocations: 63.69 kB / 351.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.2274, allocations: 16 kB / 351.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.594e-05/0.2274, allocations: 15.94 kB / 351.4 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.2274, allocations: 35.86 kB / 351.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.278e-05/0.2275, allocations: 59.72 kB / 351.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.2277, allocations: 165.9 kB / 351.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2277, allocations: 0 / 351.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2277, allocations: 0 / 351.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.2277, allocations: 0 / 351.6 MB, free: 12.38 MB / 318.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.0006163/0.2283, allocations: 373.7 kB / 352 MB, free: 11.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2284, allocations: 11.98 kB / 352 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.2284, allocations: 20.78 kB / 352 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.2286, allocations: 138.4 kB / 352.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.2287, allocations: 12.38 kB / 352.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.2287, allocations: 20.33 kB / 352.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.229, allocations: 150.2 kB / 352.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.229, allocations: 0 / 352.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.229, allocations: 8 kB / 352.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.229, allocations: 4 kB / 352.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.2292, allocations: 95.69 kB / 352.4 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007177/0.23, allocations: 411.9 kB / 352.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.2301, allocations: 70.55 kB / 352.9 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.607e-05/0.2302, allocations: 20.86 kB / 352.9 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.2302, allocations: 4 kB / 352.9 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.2303, allocations: 42.67 kB / 353 MB, free: 10.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.2303, allocations: 4 kB / 353 MB, free: 10.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009456/0.2312, allocations: 451.5 kB / 353.4 MB, free: 10.42 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.2312, allocations: 51.41 kB / 353.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.2314, allocations: 141.7 kB / 353.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2314, allocations: 25.7 kB / 353.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.2315, allocations: 136.2 kB / 353.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.2315, allocations: 51.58 kB / 353.8 MB, free: 9.988 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.2316, allocations: 37.89 kB / 353.9 MB, free: 9.945 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2317, allocations: 318.8 kB / 354.2 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.2318, allocations: 39.91 kB / 354.2 MB, free: 9.586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.2319, allocations: 90.75 kB / 354.3 MB, free: 9.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.2321, allocations: 130.7 kB / 354.4 MB, free: 9.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2321, allocations: 0 / 354.4 MB, free: 9.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002752/0.2324, allocations: 153.4 kB / 354.6 MB, free: 9.164 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2324, allocations: 8 kB / 354.6 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2324, allocations: 0 / 354.6 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2324, allocations: 4 kB / 354.6 MB, free: 9.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.2326, allocations: 39.92 kB / 354.6 MB, free: 9.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.2326, allocations: 8.172 kB / 354.6 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.424e-05/0.2327, allocations: 15.88 kB / 354.7 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.2327, allocations: 4 kB / 354.7 MB, free: 9.086 MB / 318.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.0001032/0.2328, allocations: 125.8 kB / 354.8 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.2328, allocations: 11.89 kB / 354.8 MB, free: 8.941 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.2329, allocations: 12.44 kB / 354.8 MB, free: 8.926 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2329, allocations: 3.984 kB / 354.8 MB, free: 8.922 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2329, allocations: 0 / 354.8 MB, free: 8.922 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2329, allocations: 3.938 kB / 354.8 MB, free: 8.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.2334, allocations: 375.7 kB / 355.2 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2334, allocations: 0 / 355.2 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.2336, allocations: 24.17 kB / 355.2 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.2336, allocations: 3.938 kB / 355.2 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.2336, allocations: 7.938 kB / 355.2 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.2336, allocations: 4 kB / 355.2 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2336, allocations: 0 / 355.2 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.2339, allocations: 257 kB / 355.5 MB, free: 8.195 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.2339, allocations: 16.06 kB / 355.5 MB, free: 8.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.234, allocations: 3.938 kB / 355.5 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/0.2341, allocations: 4 kB / 355.5 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.2341, allocations: 11.98 kB / 355.5 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.2341, allocations: 0 / 355.5 MB, free: 8.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.065e-05/0.2342, allocations: 99.77 kB / 355.6 MB, free: 8.062 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2342, allocations: 0 / 355.6 MB, free: 8.062 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.2345, allocations: 28 kB / 355.6 MB, free: 8.035 MB / 318.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.0001053/0.2346, allocations: 103.2 kB / 355.7 MB, free: 7.926 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.2348, allocations: 91.84 kB / 355.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2348, allocations: 0 / 355.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.155e-05/0.2349, allocations: 39.92 kB / 355.9 MB, free: 7.797 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.2352, allocations: 15.97 kB / 355.9 MB, free: 7.781 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000749/0.2359, allocations: 428.5 kB / 356.3 MB, free: 7.328 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.236, allocations: 97.62 kB / 356.4 MB, free: 7.211 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.813e-05/0.2361, allocations: 8.969 kB / 356.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.2361, allocations: 16.5 kB / 356.4 MB, free: 7.184 MB / 318.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2361, allocations: 0 / 356.4 MB, free: 7.184 MB / 318.1 MB Notification: Performance of Templates: time 0.003625/0.2397, allocations: 0.8239 MB / 357.2 MB, free: 6.355 MB / 318.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/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.220306231989525]