Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002179/0.002179, allocations: 121.3 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002257/0.002257, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 230.2 MB / 254.5 MB, free: 15.43 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.88 kB / 373.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1117, allocations: 53.32 MB / 426.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003244/0.1149, allocations: 2.013 MB / 428.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.1158, allocations: 0.5726 MB / 429.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.491e-05/0.1159, allocations: 8 kB / 429.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.116, allocations: 19.73 kB / 429.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.926e-05/0.1161, allocations: 31.7 kB / 429.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1164, allocations: 55.88 kB / 429.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.1165, allocations: 147.4 kB / 429.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1167, allocations: 49.53 kB / 429.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.1168, allocations: 75.72 kB / 429.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.117, allocations: 67.69 kB / 429.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.117, allocations: 20 kB / 429.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.25e-05/0.117, allocations: 16 kB / 429.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.1171, allocations: 27.92 kB / 429.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.654e-05/0.1171, allocations: 79.59 kB / 429.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.1174, allocations: 167.3 kB / 430 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1174, allocations: 0 / 430 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1174, allocations: 0 / 430 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1174, allocations: 0 / 430 MB, free: 1.688 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.0006416/0.118, allocations: 450.8 kB / 430.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1181, allocations: 12.02 kB / 430.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.487e-05/0.1181, allocations: 46.75 kB / 430.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.1183, allocations: 28.83 kB / 430.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.1185, allocations: 212.1 kB / 430.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1186, allocations: 8.375 kB / 430.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.1186, allocations: 16.38 kB / 430.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.1189, allocations: 145.5 kB / 430.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1189, allocations: 7.953 kB / 430.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.1189, allocations: 8 kB / 430.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1189, allocations: 7.938 kB / 430.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.1191, allocations: 87.94 kB / 431 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000771/0.1199, allocations: 0.5213 MB / 431.5 MB, free: 0 / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.12, allocations: 82.53 kB / 431.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.491e-05/0.1201, allocations: 28.84 kB / 431.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1201, allocations: 4 kB / 431.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1202, allocations: 34.56 kB / 431.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.1202, allocations: 0 / 431.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001006/0.1212, allocations: 0.5948 MB / 432.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.1212, allocations: 55.34 kB / 432.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1213, allocations: 130.1 kB / 432.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1213, allocations: 29.7 kB / 432.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1215, allocations: 136.2 kB / 432.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.1215, allocations: 51.56 kB / 432.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.1215, allocations: 37.7 kB / 432.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1217, allocations: 318.8 kB / 433 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/0.1218, allocations: 33.02 kB / 433 MB, free: 14.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1219, allocations: 86.78 kB / 433.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.1221, allocations: 134.6 kB / 433.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1221, allocations: 4 kB / 433.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002641/0.1224, allocations: 157.4 kB / 433.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1224, allocations: 11.98 kB / 433.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1224, allocations: 0 / 433.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1224, allocations: 4 kB / 433.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.1226, allocations: 39.86 kB / 433.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1226, allocations: 4.188 kB / 433.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.848e-05/0.1226, allocations: 8 kB / 433.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.1226, allocations: 8 kB / 433.5 MB, free: 13.82 MB / 366.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.0001015/0.1227, allocations: 129.8 kB / 433.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.1228, allocations: 7.953 kB / 433.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.1228, allocations: 12.72 kB / 433.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1228, allocations: 7.938 kB / 433.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1228, allocations: 0 / 433.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1228, allocations: 0 / 433.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005789/0.1234, allocations: 444 kB / 434.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1234, allocations: 0 / 434.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.1235, allocations: 27.92 kB / 434.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1235, allocations: 4 kB / 434.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1236, allocations: 0 / 434.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1236, allocations: 0 / 434.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1236, allocations: 4 kB / 434.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.1239, allocations: 257.1 kB / 434.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.124, allocations: 85.02 kB / 434.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.124, allocations: 4 kB / 434.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.097e-05/0.1241, allocations: 3.984 kB / 434.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.1241, allocations: 16.19 kB / 434.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1241, allocations: 4 kB / 434.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.345e-05/0.1242, allocations: 105 kB / 434.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1242, allocations: 0 / 434.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1245, allocations: 27.98 kB / 434.6 MB, free: 12.59 MB / 366.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.0007035/0.1252, allocations: 0.7806 MB / 435.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.1254, allocations: 91.94 kB / 435.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1254, allocations: 0 / 435.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.286e-05/0.1255, allocations: 36.48 kB / 435.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.1258, allocations: 27.92 kB / 435.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.1279, allocations: 1.869 MB / 437.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1282, allocations: 0.7158 MB / 438.1 MB, free: 8.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.505e-05/0.1283, allocations: 4.891 kB / 438.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.1284, allocations: 43.42 kB / 438.2 MB, free: 8.824 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1284, allocations: 0 / 438.2 MB, free: 8.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.1606, allocations: 2.432 MB / 440.6 MB, free: 6.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/8.319, allocations: 3.938 kB / 440.6 MB, free: 6.48 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.941744516137987]