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.00182/0.00182, allocations: 112.1 kB / 21.19 MB, free: 0.7031 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.002154/0.002154, allocations: 208.6 kB / 24.49 MB, free: 4.059 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.51/1.51, allocations: 207.6 MB / 235.3 MB, free: 9.988 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.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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) [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.002089/0.002089, allocations: 62.58 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3538, allocations: 49.16 MB / 396.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003242/0.357, allocations: 1.981 MB / 398.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009338/0.358, allocations: 0.554 MB / 398.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.3581, allocations: 3.625 kB / 398.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.3582, allocations: 28.8 kB / 398.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.335e-05/0.3583, allocations: 36.2 kB / 398.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.3585, allocations: 37.77 kB / 399 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.3588, allocations: 150 kB / 399.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.3589, allocations: 62.11 kB / 399.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.3591, allocations: 64.89 kB / 399.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.3592, allocations: 70.23 kB / 399.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.3592, allocations: 14.16 kB / 399.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.116e-05/0.3593, allocations: 15.19 kB / 399.4 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.3593, allocations: 36.61 kB / 399.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.678e-05/0.3594, allocations: 72.14 kB / 399.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.3597, allocations: 170.3 kB / 399.6 MB, free: 6.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3597, allocations: 0 / 399.6 MB, free: 6.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3597, allocations: 1.125 kB / 399.6 MB, free: 6.836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3597, allocations: 0 / 399.6 MB, free: 6.836 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.0005775/0.3602, allocations: 357.7 kB / 400 MB, free: 6.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3603, allocations: 23.84 kB / 400 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.3603, allocations: 50.11 kB / 400 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.3604, allocations: 16.94 kB / 400.1 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.3606, allocations: 143.8 kB / 400.2 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.3607, allocations: 10.94 kB / 400.2 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.3607, allocations: 23.27 kB / 400.2 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.361, allocations: 143.4 kB / 400.4 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.361, allocations: 5.266 kB / 400.4 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.361, allocations: 5.312 kB / 400.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.361, allocations: 8.375 kB / 400.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.3613, allocations: 91.61 kB / 400.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007573/0.362, allocations: 468.6 kB / 400.9 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.3622, allocations: 74.89 kB / 401 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.777e-05/0.3623, allocations: 34.38 kB / 401 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.3623, allocations: 5.391 kB / 401.1 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.3623, allocations: 35.22 kB / 401.1 MB, free: 5.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.3623, allocations: 1.406 kB / 401.1 MB, free: 5.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009359/0.3632, allocations: 463.6 kB / 401.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.3633, allocations: 61 kB / 401.6 MB, free: 5.301 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.3634, allocations: 123.7 kB / 401.7 MB, free: 5.195 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.3634, allocations: 30.83 kB / 401.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.3635, allocations: 139.2 kB / 401.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.3635, allocations: 44 kB / 401.9 MB, free: 5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.3636, allocations: 35.64 kB / 402 MB, free: 4.973 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.456e-05/0.3636, allocations: 324.7 kB / 402.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.537e-05/0.3637, allocations: 30.19 kB / 402.3 MB, free: 4.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.3638, allocations: 81.12 kB / 402.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.364, allocations: 129.2 kB / 402.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.364, allocations: 1.062 kB / 402.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002492/0.3643, allocations: 167.1 kB / 402.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.3643, allocations: 6.438 kB / 402.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3643, allocations: 1.219 kB / 402.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3643, allocations: 3.625 kB / 402.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.3645, allocations: 42.05 kB / 402.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.3645, allocations: 2.531 kB / 402.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.295e-05/0.3646, allocations: 9.219 kB / 402.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3646, allocations: 9.25 kB / 402.8 MB, free: 4.363 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 7.702e-05/0.3647, allocations: 126.1 kB / 402.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.3647, allocations: 9.516 kB / 402.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.3647, allocations: 15.14 kB / 402.9 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3648, allocations: 5.344 kB / 402.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3648, allocations: 0 / 402.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3648, allocations: 3.109 kB / 402.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005135/0.3653, allocations: 419.7 kB / 403.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3653, allocations: 1.969 kB / 403.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.3654, allocations: 24.77 kB / 403.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3654, allocations: 3.938 kB / 403.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.3654, allocations: 2.906 kB / 403.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.3654, allocations: 2.094 kB / 403.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3654, allocations: 0 / 403.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.3657, allocations: 259.8 kB / 403.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.3657, allocations: 8.625 kB / 403.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.3658, allocations: 1.438 kB / 403.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.3659, allocations: 7.672 kB / 403.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.3659, allocations: 10.47 kB / 403.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.3659, allocations: 4.141 kB / 403.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.875e-05/0.366, allocations: 107.7 kB / 403.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.366, allocations: 0 / 403.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.3663, allocations: 27.34 kB / 403.8 MB, free: 3.555 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.0004861/0.3667, allocations: 0.7808 MB / 404.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.367, allocations: 88.09 kB / 404.6 MB, free: 2.805 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.367, allocations: 1.188 kB / 404.6 MB, free: 2.805 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.367, allocations: 39.08 kB / 404.7 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.3674, allocations: 11.19 kB / 404.7 MB, free: 2.789 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3692, allocations: 1.873 MB / 406.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.3693, allocations: 0.711 MB / 407.3 MB, free: 476 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.117e-05/0.3694, allocations: 13.94 kB / 407.3 MB, free: 468 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.3694, allocations: 35.7 kB / 407.3 MB, free: 440 kB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3694, allocations: 1.312 kB / 407.3 MB, free: 440 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.4052, allocations: 2.573 MB / 409.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.44, allocations: 13.16 kB / 409.9 MB, free: 15.75 MB / 334.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] 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: 13.924287470057607]