Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00187/0.00187, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002245/0.002245, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.621/1.621, allocations: 230.6 MB / 254.1 MB, free: 15.12 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+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_4.1.0_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_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 47.92 kB / 373.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1055, allocations: 53.33 MB / 426.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.0033/0.1088, allocations: 2.015 MB / 428.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009944/0.1098, allocations: 0.5648 MB / 429.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.399e-05/0.1099, allocations: 4 kB / 429.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.11, allocations: 31.72 kB / 429.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.587e-05/0.1101, allocations: 35.7 kB / 429.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.1104, allocations: 43.89 kB / 429.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.1106, allocations: 151.4 kB / 429.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.1107, allocations: 53.53 kB / 429.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.1109, allocations: 75.7 kB / 429.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.111, allocations: 63.7 kB / 429.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.111, allocations: 16 kB / 429.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.632e-05/0.1111, allocations: 24 kB / 429.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.1111, allocations: 35.89 kB / 429.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.325e-05/0.1112, allocations: 75.61 kB / 430 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.1115, allocations: 163.3 kB / 430.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1115, allocations: 0 / 430.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1115, allocations: 0 / 430.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1115, allocations: 0 / 430.1 MB, free: 0.9531 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.0006997/0.1122, allocations: 454.8 kB / 430.6 MB, free: 472 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1122, allocations: 8.031 kB / 430.6 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.1124, allocations: 28.77 kB / 430.6 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.1126, allocations: 204.1 kB / 430.8 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1126, allocations: 12.38 kB / 430.8 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.1127, allocations: 20.38 kB / 430.8 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.113, allocations: 141.7 kB / 431 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.113, allocations: 11.88 kB / 431 MB, free: 0 / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2012/0.3142, allocations: 1.766 kB / 431 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.3142, allocations: 3.906 kB / 431 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.3145, allocations: 86.66 kB / 431.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007794/0.3153, allocations: 0.5192 MB / 431.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.3154, allocations: 76.05 kB / 431.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.043e-05/0.3155, allocations: 29.09 kB / 431.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3155, allocations: 3.375 kB / 431.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.3155, allocations: 37.47 kB / 431.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3155, allocations: 0 / 431.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009421/0.3165, allocations: 0.5937 MB / 432.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.3165, allocations: 57.16 kB / 432.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.3166, allocations: 136.3 kB / 432.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.3166, allocations: 27.64 kB / 432.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.3167, allocations: 139.3 kB / 432.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.3167, allocations: 40.56 kB / 432.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.3167, allocations: 37.5 kB / 432.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.27e-05/0.3168, allocations: 324.1 kB / 433.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.3169, allocations: 32.33 kB / 433.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.57e-05/0.317, allocations: 92.38 kB / 433.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.3171, allocations: 125.2 kB / 433.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3171, allocations: 0 / 433.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002532/0.3174, allocations: 159.8 kB / 433.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3174, allocations: 7.859 kB / 433.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3174, allocations: 2.562 kB / 433.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3174, allocations: 9.562 kB / 433.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.3176, allocations: 39.09 kB / 433.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3176, allocations: 6.5 kB / 433.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.324e-05/0.3177, allocations: 8.031 kB / 433.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3177, allocations: 6.375 kB / 433.6 MB, free: 9.793 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.823e-05/0.3177, allocations: 135.1 kB / 433.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.3178, allocations: 8.266 kB / 433.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.3178, allocations: 13.31 kB / 433.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3178, allocations: 3.938 kB / 433.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3178, allocations: 3.469 kB / 433.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3178, allocations: 5.234 kB / 433.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.3182, allocations: 445.3 kB / 434.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3182, allocations: 2 kB / 434.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.3184, allocations: 24.48 kB / 434.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3184, allocations: 2.438 kB / 434.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3184, allocations: 4.594 kB / 434.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3184, allocations: 1.344 kB / 434.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3184, allocations: 3.75 kB / 434.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.3187, allocations: 252 kB / 434.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.3187, allocations: 89.08 kB / 434.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3187, allocations: 5.094 kB / 434.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.3188, allocations: 7.719 kB / 434.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.3189, allocations: 11.17 kB / 434.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.3189, allocations: 3.375 kB / 434.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.453e-05/0.3189, allocations: 99.67 kB / 434.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3189, allocations: 0 / 434.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.3192, allocations: 27.33 kB / 434.7 MB, free: 9.016 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 8.997e-05/0.3193, allocations: 103.4 kB / 434.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.3195, allocations: 84.91 kB / 434.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3195, allocations: 0 / 434.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.3196, allocations: 45.53 kB / 434.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.3199, allocations: 18.39 kB / 434.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006372/0.3205, allocations: 432.5 kB / 435.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.3207, allocations: 0.7081 MB / 436.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.873e-05/0.3207, allocations: 14.97 kB / 436.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.3207, allocations: 13.31 kB / 436.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3207, allocations: 0 / 436.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of Templates: time 0.003667/0.3244, allocations: 0.8885 MB / 437 MB, free: 7.863 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.716625921428204]