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.0008704/0.0008704, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004796/0.004796, allocations: 164.3 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8573/0.8573, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.999e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002384/0.002404, allocations: 1.905 MB / 300.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008329/0.003237, allocations: 0.5191 MB / 300.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.003363, allocations: 0 / 300.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.003486, allocations: 27.72 kB / 300.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.297e-05/0.003579, allocations: 35.66 kB / 300.9 MB, free: 1.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.003827, allocations: 39.94 kB / 301 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.004024, allocations: 155.3 kB / 301.1 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.004189, allocations: 45.78 kB / 301.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.004347, allocations: 87.84 kB / 301.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.373e-05/0.004441, allocations: 55.81 kB / 301.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.004477, allocations: 12 kB / 301.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.004494, allocations: 16 kB / 301.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.004525, allocations: 31.91 kB / 301.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.00457, allocations: 47.89 kB / 301.4 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.004781, allocations: 175.4 kB / 301.6 MB, free: 372 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.004785, allocations: 0 / 301.6 MB, free: 372 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.004786, allocations: 0 / 301.6 MB, free: 372 kB / 282.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.004793, allocations: 0 / 301.6 MB, free: 372 kB / 282.7 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.1331/0.1379, allocations: 373.1 kB / 301.9 MB, free: 14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.138, allocations: 13.33 kB / 301.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/0.138, allocations: 50.75 kB / 302 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.1381, allocations: 15.91 kB / 302 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1383, allocations: 135.2 kB / 302.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1383, allocations: 13.16 kB / 302.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.1384, allocations: 22.64 kB / 302.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.1386, allocations: 143 kB / 302.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1386, allocations: 1.312 kB / 302.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1386, allocations: 12.8 kB / 302.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1386, allocations: 4.375 kB / 302.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.1388, allocations: 92.59 kB / 302.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.1393, allocations: 450.7 kB / 302.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1394, allocations: 72.08 kB / 302.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.1395, allocations: 29.42 kB / 303 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.1395, allocations: 1.438 kB / 303 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.1395, allocations: 40.39 kB / 303 MB, free: 13.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.244e-06/0.1395, allocations: 2.906 kB / 303 MB, free: 13.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006456/0.1401, allocations: 452.5 kB / 303.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.1402, allocations: 57.5 kB / 303.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.357e-05/0.1403, allocations: 136.6 kB / 303.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-06/0.1403, allocations: 27.55 kB / 303.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.1403, allocations: 140.9 kB / 303.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.1403, allocations: 41.31 kB / 303.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.1404, allocations: 37.06 kB / 303.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.328e-05/0.1404, allocations: 323.6 kB / 304.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.429e-05/0.1405, allocations: 29.31 kB / 304.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/0.1405, allocations: 90.41 kB / 304.3 MB, free: 12.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.1406, allocations: 126.8 kB / 304.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1406, allocations: 1.062 kB / 304.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001644/0.1408, allocations: 153.5 kB / 304.6 MB, free: 12.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1408, allocations: 7.375 kB / 304.6 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1408, allocations: 2.344 kB / 304.6 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1408, allocations: 6.875 kB / 304.6 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.141, allocations: 41.31 kB / 304.6 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.141, allocations: 5.734 kB / 304.6 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/0.141, allocations: 9.156 kB / 304.7 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.141, allocations: 6.391 kB / 304.7 MB, free: 12.37 MB / 282.7 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 5.357e-05/0.1411, allocations: 131.5 kB / 304.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.1411, allocations: 8.297 kB / 304.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.1411, allocations: 18.28 kB / 304.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1411, allocations: 1.312 kB / 304.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1411, allocations: 4.969 kB / 304.8 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1411, allocations: 0.5625 kB / 304.8 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.1415, allocations: 404 kB / 305.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1415, allocations: 3.438 kB / 305.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.937e-05/0.1416, allocations: 27.56 kB / 305.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1416, allocations: 1.406 kB / 305.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.1416, allocations: 6.953 kB / 305.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1416, allocations: 1.672 kB / 305.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1416, allocations: 1.094 kB / 305.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.1418, allocations: 259.3 kB / 305.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.1418, allocations: 10.59 kB / 305.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1418, allocations: 2.969 kB / 305.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.416e-05/0.1419, allocations: 7.469 kB / 305.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.1419, allocations: 7.391 kB / 305.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.1419, allocations: 2.719 kB / 305.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.187e-05/0.1419, allocations: 104.8 kB / 305.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1419, allocations: 0 / 305.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.1421, allocations: 26.84 kB / 305.7 MB, free: 11.71 MB / 282.7 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.0002915/0.1424, allocations: 0.7789 MB / 306.5 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.1426, allocations: 87.06 kB / 306.5 MB, free: 11.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1426, allocations: 3.938 kB / 306.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.773e-05/0.1426, allocations: 43.64 kB / 306.6 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.1428, allocations: 11.73 kB / 306.6 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.144, allocations: 1.789 MB / 308.4 MB, free: 9.484 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.25e-05/0.1441, allocations: 101.5 kB / 308.5 MB, free: 9.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.43e-05/0.1441, allocations: 13.02 kB / 308.5 MB, free: 9.402 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.1442, allocations: 38 kB / 308.5 MB, free: 9.375 MB / 282.7 MB Notification: Performance of SimCode: time 4.949e-06/0.1442, allocations: 4 kB / 308.5 MB, free: 9.371 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.1639, allocations: 3.055 MB / 311.6 MB, free: 8.203 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.701/6.865, allocations: 9.156 kB / 311.6 MB, free: 8.195 MB / 282.7 MB " [Timeout remaining time 653] (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/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: 8.411465330049396]