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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 107.1 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 186.2 kB / 22.93 MB, free: 5.582 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.475/1.475, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 51.92 kB / 345.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4232, allocations: 49.13 MB / 394.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00461/0.4278, allocations: 1.99 MB / 396.5 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.4292, allocations: 0.5545 MB / 397 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.4293, allocations: 3.188 kB / 397.1 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.4295, allocations: 24.97 kB / 397.1 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.4296, allocations: 30.91 kB / 397.1 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.4299, allocations: 46.27 kB / 397.2 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.4302, allocations: 150 kB / 397.3 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.4304, allocations: 70.27 kB / 397.4 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.4306, allocations: 59.64 kB / 397.4 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.4307, allocations: 70.59 kB / 397.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.4308, allocations: 13.97 kB / 397.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.998e-05/0.4308, allocations: 13.56 kB / 397.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.4309, allocations: 33.62 kB / 397.6 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.431, allocations: 74.55 kB / 397.6 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.4313, allocations: 165.1 kB / 397.8 MB, free: 7.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.4313, allocations: 1.188 kB / 397.8 MB, free: 7.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4314, allocations: 0 / 397.8 MB, free: 7.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.4314, allocations: 0 / 397.8 MB, free: 7.285 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.0008303/0.4322, allocations: 447.9 kB / 398.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.4322, allocations: 9.312 kB / 398.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.4323, allocations: 20.09 kB / 398.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.4327, allocations: 199 kB / 398.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4327, allocations: 10.44 kB / 398.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/0.4327, allocations: 23.7 kB / 398.5 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.4332, allocations: 138.2 kB / 398.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.4332, allocations: 9.016 kB / 398.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.4332, allocations: 6.156 kB / 398.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.4332, allocations: 3.375 kB / 398.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003339/0.4336, allocations: 93.38 kB / 398.7 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.4346, allocations: 0.5275 MB / 399.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.4349, allocations: 73.97 kB / 399.3 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.435, allocations: 27.05 kB / 399.4 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.435, allocations: 9.219 kB / 399.4 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.435, allocations: 34.5 kB / 399.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.435, allocations: 1.062 kB / 399.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001404/0.4364, allocations: 0.5901 MB / 400 MB, free: 5.465 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.4365, allocations: 57.27 kB / 400 MB, free: 5.398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.4366, allocations: 131.8 kB / 400.2 MB, free: 5.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.4367, allocations: 30.83 kB / 400.2 MB, free: 5.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.4367, allocations: 143.9 kB / 400.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.4368, allocations: 43.22 kB / 400.4 MB, free: 5.086 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-05/0.4369, allocations: 31.69 kB / 400.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.4369, allocations: 320.1 kB / 400.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.4371, allocations: 38.22 kB / 400.8 MB, free: 4.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.4372, allocations: 86.41 kB / 400.9 MB, free: 4.652 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.4375, allocations: 130 kB / 401 MB, free: 4.551 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4375, allocations: 0 / 401 MB, free: 4.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004159/0.4379, allocations: 163.9 kB / 401.1 MB, free: 4.465 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.4379, allocations: 6.609 kB / 401.1 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.4379, allocations: 2.406 kB / 401.1 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.438, allocations: 2.219 kB / 401.1 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.4382, allocations: 41.56 kB / 401.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.4382, allocations: 11.2 kB / 401.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.4383, allocations: 4.25 kB / 401.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.4383, allocations: 7.062 kB / 401.2 MB, free: 4.449 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 9.775e-05/0.4384, allocations: 137.3 kB / 401.3 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.4385, allocations: 8.922 kB / 401.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.4385, allocations: 10.61 kB / 401.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4385, allocations: 2.25 kB / 401.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4385, allocations: 4.688 kB / 401.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4386, allocations: 0.7969 kB / 401.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006807/0.4392, allocations: 444.2 kB / 401.8 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.4392, allocations: 4.766 kB / 401.8 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.4394, allocations: 31.95 kB / 401.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4394, allocations: 1.25 kB / 401.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.4395, allocations: 3.156 kB / 401.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4395, allocations: 5.281 kB / 401.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4395, allocations: 0 / 401.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.4399, allocations: 252.3 kB / 402.1 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.44, allocations: 83.86 kB / 402.2 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.44, allocations: 6.891 kB / 402.2 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.4401, allocations: 3.422 kB / 402.2 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.4402, allocations: 10.52 kB / 402.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.4402, allocations: 7.938 kB / 402.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.66e-05/0.4403, allocations: 95.67 kB / 402.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4403, allocations: 4.062 kB / 402.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004643/0.4407, allocations: 26.34 kB / 402.3 MB, free: 3.516 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.0001264/0.4409, allocations: 99.06 kB / 402.4 MB, free: 3.426 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003518/0.4412, allocations: 92.44 kB / 402.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4412, allocations: 0 / 402.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.4413, allocations: 40.02 kB / 402.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.4418, allocations: 23 kB / 402.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.4428, allocations: 421.7 kB / 403 MB, free: 3.059 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.4431, allocations: 0.7179 MB / 403.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.846e-05/0.4431, allocations: 13.59 kB / 403.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.4432, allocations: 14 kB / 403.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4432, allocations: 0 / 403.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of Templates: time 0.005498/0.4487, allocations: 0.919 MB / 404.7 MB, free: 2.223 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 -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/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.798879232257605]