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.001618/0.001618, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001816/0.001816, allocations: 212.7 kB / 21.46 MB, free: 1.605 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.467/1.467, allocations: 230.4 MB / 254.7 MB, free: 15.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63.89 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1088, allocations: 53.38 MB / 427.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003297/0.1121, allocations: 2.008 MB / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1132, allocations: 0.5687 MB / 429.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1133, allocations: 7.938 kB / 429.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.1134, allocations: 23.78 kB / 429.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.038e-05/0.1135, allocations: 35.64 kB / 429.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1138, allocations: 55.88 kB / 429.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.114, allocations: 151.4 kB / 429.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.1141, allocations: 41.55 kB / 429.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.1143, allocations: 79.77 kB / 430 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1144, allocations: 63.7 kB / 430.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.1145, allocations: 19.94 kB / 430.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.753e-05/0.1145, allocations: 16 kB / 430.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.1146, allocations: 31.91 kB / 430.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.968e-05/0.1146, allocations: 75.59 kB / 430.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.1149, allocations: 171.3 kB / 430.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1149, allocations: 4 kB / 430.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1149, allocations: 3.984 kB / 430.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1149, allocations: 0 / 430.4 MB, free: 1.254 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.0006916/0.1156, allocations: 442.8 kB / 430.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1157, allocations: 8.031 kB / 430.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.059e-05/0.1157, allocations: 4.188 kB / 430.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.824e-05/0.1157, allocations: 54.73 kB / 430.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.1159, allocations: 32.83 kB / 430.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.1162, allocations: 208.1 kB / 431.1 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1162, allocations: 8.375 kB / 431.1 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.1162, allocations: 20.38 kB / 431.2 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.1166, allocations: 145.3 kB / 431.3 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.1166, allocations: 7.891 kB / 431.3 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.1166, allocations: 4 kB / 431.3 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.1166, allocations: 4 kB / 431.3 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.1168, allocations: 95.94 kB / 431.4 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008561/0.1177, allocations: 0.5213 MB / 431.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1179, allocations: 74.55 kB / 432 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.492e-05/0.1179, allocations: 28.86 kB / 432 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1179, allocations: 3.984 kB / 432 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.118, allocations: 34.73 kB / 432.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.118, allocations: 0 / 432.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001085/0.1191, allocations: 0.6068 MB / 432.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.1191, allocations: 51.41 kB / 432.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1192, allocations: 128.1 kB / 432.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1193, allocations: 29.7 kB / 432.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.743e-05/0.1194, allocations: 136.1 kB / 433 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.1194, allocations: 47.56 kB / 433.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.1194, allocations: 37.7 kB / 433.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1196, allocations: 326.8 kB / 433.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.669e-05/0.1197, allocations: 27.98 kB / 433.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.1198, allocations: 90.72 kB / 433.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.12, allocations: 130.7 kB / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.12, allocations: 0 / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002797/0.1203, allocations: 161.4 kB / 433.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1203, allocations: 4 kB / 433.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.1203, allocations: 4 kB / 433.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.1204, allocations: 3.938 kB / 433.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.1206, allocations: 43.91 kB / 433.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1206, allocations: 0.5625 kB / 433.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.135e-05/0.1206, allocations: 8 kB / 433.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.1207, allocations: 8 kB / 433.9 MB, free: 13.39 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.0001266/0.1208, allocations: 122 kB / 434 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.1208, allocations: 11.95 kB / 434 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.1209, allocations: 16.7 kB / 434 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.1209, allocations: 11.81 kB / 434 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1209, allocations: 4 kB / 434 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1209, allocations: 0 / 434 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006645/0.1215, allocations: 444 kB / 434.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1215, allocations: 0 / 434.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.1217, allocations: 23.98 kB / 434.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1217, allocations: 0 / 434.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.1217, allocations: 8 kB / 434.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1217, allocations: 0 / 434.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1217, allocations: 4 kB / 434.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.1221, allocations: 257 kB / 434.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.1221, allocations: 89.05 kB / 434.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.1222, allocations: 4 kB / 434.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.1223, allocations: 4 kB / 434.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.1223, allocations: 7.984 kB / 434.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1223, allocations: 4 kB / 434.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.682e-05/0.1224, allocations: 105.3 kB / 435 MB, free: 12.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1224, allocations: 0 / 435 MB, free: 12.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1227, allocations: 28 kB / 435 MB, free: 12.15 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.0006995/0.1234, allocations: 0.7843 MB / 435.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.1236, allocations: 84.16 kB / 435.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1236, allocations: 0 / 435.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.1237, allocations: 39.92 kB / 435.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.124, allocations: 12.97 kB / 435.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.1264, allocations: 1.889 MB / 437.8 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.1268, allocations: 0.7157 MB / 438.5 MB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.844e-05/0.1268, allocations: 12.88 kB / 438.5 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.1269, allocations: 43.42 kB / 438.6 MB, free: 8.379 MB / 366.1 MB Notification: Performance of SimCode: time 5.52e-07/0.1269, allocations: 0 / 438.6 MB, free: 8.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.1483, allocations: 2.46 MB / 441 MB, free: 6.023 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.149, allocations: 11.94 kB / 441.1 MB, free: 6.012 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/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_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.703847915981896]