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.00194/0.00194, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.002575/0.002575, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.487/1.487, allocations: 230.6 MB / 254.1 MB, free: 15.07 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 55.91 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1049, allocations: 53.31 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003621/0.1086, allocations: 2.011 MB / 428.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1098, allocations: 0.5765 MB / 428.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1099, allocations: 4 kB / 428.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.11, allocations: 19.78 kB / 428.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.1102, allocations: 35.64 kB / 428.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.1105, allocations: 47.89 kB / 429 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.1107, allocations: 155.4 kB / 429.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.1109, allocations: 53.53 kB / 429.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.1111, allocations: 71.77 kB / 429.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1112, allocations: 67.7 kB / 429.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.1112, allocations: 12 kB / 429.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.113e-05/0.1113, allocations: 20 kB / 429.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.1113, allocations: 31.86 kB / 429.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.253e-05/0.1114, allocations: 87.52 kB / 429.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.1117, allocations: 163.3 kB / 429.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1117, allocations: 0 / 429.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1117, allocations: 0 / 429.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1117, allocations: 4 kB / 429.6 MB, free: 1.426 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.0007023/0.1124, allocations: 446.8 kB / 430.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1124, allocations: 8.031 kB / 430.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.1125, allocations: 50.73 kB / 430.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.1127, allocations: 24.83 kB / 430.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.113, allocations: 208.1 kB / 430.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.113, allocations: 20.38 kB / 430.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.113, allocations: 12.38 kB / 430.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.1133, allocations: 145.4 kB / 430.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.1133, allocations: 7.953 kB / 430.5 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1133, allocations: 8 kB / 430.6 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1133, allocations: 7.984 kB / 430.6 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.1136, allocations: 83.95 kB / 430.6 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000912/0.1145, allocations: 0.5253 MB / 431.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.1146, allocations: 74.48 kB / 431.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.1147, allocations: 28.84 kB / 431.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1147, allocations: 4 kB / 431.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.1148, allocations: 38.69 kB / 431.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 4.99e-06/0.1148, allocations: 3.984 kB / 431.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001184/0.116, allocations: 0.5993 MB / 431.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.116, allocations: 59.34 kB / 432 MB, free: 14.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1162, allocations: 132.6 kB / 432.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.1162, allocations: 29.7 kB / 432.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.749e-05/0.1163, allocations: 136.1 kB / 432.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.1163, allocations: 51.56 kB / 432.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/0.1164, allocations: 29.72 kB / 432.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1166, allocations: 318.8 kB / 432.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-05/0.1167, allocations: 31.98 kB / 432.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.1168, allocations: 94.78 kB / 432.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.117, allocations: 134.7 kB / 432.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.117, allocations: 0 / 432.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002942/0.1173, allocations: 153.4 kB / 433.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1173, allocations: 8.188 kB / 433.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1174, allocations: 4 kB / 433.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.1174, allocations: 4 kB / 433.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.1175, allocations: 39.86 kB / 433.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.1176, allocations: 7.984 kB / 433.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.903e-05/0.1176, allocations: 8 kB / 433.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.1176, allocations: 4 kB / 433.1 MB, free: 13.56 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.0001337/0.1178, allocations: 129.8 kB / 433.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.1178, allocations: 7.953 kB / 433.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.1179, allocations: 16.72 kB / 433.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1179, allocations: 3.938 kB / 433.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1179, allocations: 288 / 433.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1179, allocations: 3.984 kB / 433.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.1185, allocations: 443.9 kB / 433.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.1186, allocations: 4 kB / 433.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.1187, allocations: 28.05 kB / 433.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1187, allocations: 0 / 433.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1187, allocations: 4 kB / 433.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1187, allocations: 4 kB / 433.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1187, allocations: 0 / 433.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.1191, allocations: 253 kB / 434 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.1192, allocations: 93.03 kB / 434.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1192, allocations: 4 kB / 434.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.41e-05/0.1193, allocations: 8 kB / 434.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.1193, allocations: 7.984 kB / 434.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1193, allocations: 0 / 434.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.788e-05/0.1194, allocations: 103.3 kB / 434.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1194, allocations: 0 / 434.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.1197, allocations: 24 kB / 434.2 MB, free: 12.33 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.0007084/0.1204, allocations: 0.7843 MB / 435 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.1206, allocations: 87.91 kB / 435.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1206, allocations: 0 / 435.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/0.1207, allocations: 43.91 kB / 435.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.121, allocations: 8 kB / 435.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.1235, allocations: 1.89 MB / 437.1 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.1239, allocations: 0.7158 MB / 437.8 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.62e-05/0.124, allocations: 8.875 kB / 437.8 MB, free: 8.602 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.359e-05/0.1241, allocations: 43.42 kB / 437.8 MB, free: 8.559 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1241, allocations: 0 / 437.8 MB, free: 8.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.1523, allocations: 2.422 MB / 440.2 MB, free: 6.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.108, allocations: 10.88 kB / 440.3 MB, free: 6.223 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/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: 10.636487313080579]