Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.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.001703/0.001703, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002081/0.002081, allocations: 217.7 kB / 22.99 MB, free: 4.977 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.681/1.681, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2407/0.2407, allocations: 44.26 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_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.00235/0.00235, allocations: 81.61 kB / 467.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1241, allocations: 61.03 MB / 0.5161 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003271/0.1274, allocations: 1.84 MB / 0.5179 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1286, allocations: 0.5696 MB / 0.5185 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1288, allocations: 4 kB / 0.5185 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.129, allocations: 39.7 kB / 0.5185 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.1292, allocations: 27.72 kB / 0.5185 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.1293, allocations: 43.88 kB / 0.5186 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.1296, allocations: 155.5 kB / 0.5187 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1298, allocations: 37.61 kB / 0.5188 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.1299, allocations: 71.77 kB / 0.5188 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.13, allocations: 51.7 kB / 0.5189 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.1301, allocations: 19.94 kB / 0.5189 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.887e-05/0.1301, allocations: 12 kB / 0.5189 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.1301, allocations: 31.91 kB / 0.5189 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.883e-05/0.1302, allocations: 55.73 kB / 0.519 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.1305, allocations: 159.3 kB / 0.5192 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1305, allocations: 0 / 0.5192 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1305, allocations: 0 / 0.5192 GB, free: 4.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1305, allocations: 4 kB / 0.5192 GB, free: 4.062 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007747/0.1313, allocations: 366 kB / 0.5195 GB, free: 3.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.1313, allocations: 8.031 kB / 0.5195 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.796e-05/0.1314, allocations: 50.73 kB / 0.5196 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.1314, allocations: 16.84 kB / 0.5196 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.1317, allocations: 154.3 kB / 0.5197 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.1318, allocations: 12.66 kB / 0.5197 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1318, allocations: 12.38 kB / 0.5198 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.1321, allocations: 140 kB / 0.5199 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1321, allocations: 0 / 0.5199 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.1322, allocations: 11.98 kB / 0.5199 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1322, allocations: 0 / 0.5199 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.1325, allocations: 112.1 kB / 0.52 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.1336, allocations: 0.5355 MB / 0.5205 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.1339, allocations: 74.52 kB / 0.5206 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.134, allocations: 29 kB / 0.5206 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.134, allocations: 3.938 kB / 0.5206 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.1341, allocations: 34.56 kB / 0.5207 GB, free: 2.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1341, allocations: 0 / 0.5207 GB, free: 2.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004308/0.1345, allocations: 105.6 kB / 0.5208 GB, free: 2.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.1345, allocations: 55.41 kB / 0.5208 GB, free: 2.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.1347, allocations: 161.6 kB / 0.521 GB, free: 2.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1347, allocations: 29.7 kB / 0.521 GB, free: 1.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/0.1348, allocations: 131.7 kB / 0.5211 GB, free: 1.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.1348, allocations: 23.78 kB / 0.5211 GB, free: 1.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.1349, allocations: 21.72 kB / 0.5212 GB, free: 1.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.135, allocations: 322.8 kB / 0.5215 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.1352, allocations: 31.97 kB / 0.5215 GB, free: 1.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1353, allocations: 56.28 kB / 0.5216 GB, free: 1.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.1355, allocations: 96.19 kB / 0.5216 GB, free: 1.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1355, allocations: 0 / 0.5216 GB, free: 1.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003059/0.1358, allocations: 137.5 kB / 0.5218 GB, free: 1.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1358, allocations: 4 kB / 0.5218 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1358, allocations: 0 / 0.5218 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1359, allocations: 7.938 kB / 0.5218 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.136, allocations: 23.98 kB / 0.5218 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.136, allocations: 0 / 0.5218 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.721e-05/0.1361, allocations: 19.88 kB / 0.5218 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.1361, allocations: 8 kB / 0.5218 GB, free: 1.074 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (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 prepare postOptimizeDAE: time 0.0001269/0.1362, allocations: 117.8 kB / 0.522 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.1363, allocations: 11.98 kB / 0.522 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.1363, allocations: 20.64 kB / 0.522 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1363, allocations: 3.938 kB / 0.522 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.1363, allocations: 4 kB / 0.522 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1363, allocations: 0 / 0.522 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.1366, allocations: 172.7 kB / 0.5222 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1366, allocations: 0 / 0.5222 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.004e-05/0.1367, allocations: 15.98 kB / 0.5222 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1367, allocations: 0 / 0.5222 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.1367, allocations: 0 / 0.5222 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1367, allocations: 7.938 kB / 0.5222 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1367, allocations: 0 / 0.5222 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.137, allocations: 187.4 kB / 0.5224 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.137, allocations: 11.94 kB / 0.5224 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.137, allocations: 0 / 0.5224 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.1371, allocations: 7.938 kB / 0.5224 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.1372, allocations: 11.98 kB / 0.5224 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1372, allocations: 0 / 0.5224 GB, free: 456 kB / 398.1 MB Notification: Performance of sorting global known variables: time 9.952e-05/0.1373, allocations: 115.9 kB / 0.5225 GB, free: 340 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1373, allocations: 4 kB / 0.5225 GB, free: 336 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1375, allocations: 31.89 kB / 0.5225 GB, free: 304 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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.0006553/0.1382, allocations: 0.7123 MB / 0.5232 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.1385, allocations: 71.89 kB / 0.5233 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1385, allocations: 3.938 kB / 0.5233 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.888e-05/0.1386, allocations: 32.22 kB / 0.5233 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.1389, allocations: 7.984 kB / 0.5233 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.141, allocations: 1.645 MB / 0.5249 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.1411, allocations: 90.28 kB / 0.525 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.446e-05/0.1412, allocations: 8.656 kB / 0.525 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.1412, allocations: 31.44 kB / 0.5251 GB, free: 13.54 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1412, allocations: 4 kB / 0.5251 GB, free: 13.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.1701, allocations: 2.677 MB / 0.5277 GB, free: 10.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.31, allocations: 7.609 kB / 0.5277 GB, free: 10.86 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.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: 14.727690732106566]