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.001846/0.001846, allocations: 114.2 kB / 19.69 MB, free: 2.188 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.001785/0.001785, allocations: 213.2 kB / 23 MB, free: 5.004 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.487/1.487, allocations: 207.6 MB / 233.8 MB, free: 9.992 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.2254/0.2254, allocations: 44.23 MB / 330.3 MB, free: 9.516 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.002417/0.002417, allocations: 75.89 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1272, allocations: 61.03 MB / 0.5161 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003898/0.1311, allocations: 1.914 MB / 0.518 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1323, allocations: 0.6202 MB / 0.5186 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.1325, allocations: 7.938 kB / 0.5186 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.1327, allocations: 31.72 kB / 0.5186 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.1329, allocations: 39.7 kB / 0.5187 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.1331, allocations: 39.94 kB / 0.5187 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.1333, allocations: 147.5 kB / 0.5188 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.1335, allocations: 53.58 kB / 0.5189 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.1337, allocations: 59.73 kB / 0.519 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1338, allocations: 71.69 kB / 0.519 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.1338, allocations: 12 kB / 0.519 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.591e-05/0.1339, allocations: 16 kB / 0.5191 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.1339, allocations: 27.92 kB / 0.5191 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.387e-05/0.134, allocations: 67.67 kB / 0.5191 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1342, allocations: 155.3 kB / 0.5193 GB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1342, allocations: 7.984 kB / 0.5193 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1342, allocations: 0 / 0.5193 GB, free: 4.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.1343, allocations: 0 / 0.5193 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.0007558/0.135, allocations: 366 kB / 0.5196 GB, free: 3.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1351, allocations: 8.031 kB / 0.5197 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.681e-05/0.1351, allocations: 46.73 kB / 0.5197 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.1352, allocations: 16.84 kB / 0.5197 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.1355, allocations: 146.3 kB / 0.5199 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1355, allocations: 8.656 kB / 0.5199 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1355, allocations: 16.38 kB / 0.5199 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.1359, allocations: 147.9 kB / 0.52 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1359, allocations: 0 / 0.52 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.1359, allocations: 8 kB / 0.52 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1359, allocations: 0 / 0.52 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.1362, allocations: 108.2 kB / 0.5201 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.1373, allocations: 0.5705 MB / 0.5207 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.1376, allocations: 62.58 kB / 0.5207 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1377, allocations: 29.02 kB / 0.5208 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.1377, allocations: 3.938 kB / 0.5208 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.1378, allocations: 34.55 kB / 0.5208 GB, free: 2.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.1378, allocations: 4 kB / 0.5208 GB, free: 2.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004019/0.1382, allocations: 109.5 kB / 0.5209 GB, free: 2.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1382, allocations: 55.41 kB / 0.521 GB, free: 2.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.1384, allocations: 149.7 kB / 0.5211 GB, free: 2.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1384, allocations: 25.7 kB / 0.5211 GB, free: 1.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.935e-05/0.1385, allocations: 135.8 kB / 0.5213 GB, free: 1.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.1385, allocations: 27.83 kB / 0.5213 GB, free: 1.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.1386, allocations: 21.67 kB / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1387, allocations: 322.8 kB / 0.5216 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.1388, allocations: 31.92 kB / 0.5217 GB, free: 1.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.139, allocations: 60.27 kB / 0.5217 GB, free: 1.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.1392, allocations: 100.1 kB / 0.5218 GB, free: 1.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1392, allocations: 0 / 0.5218 GB, free: 1.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003141/0.1395, allocations: 129.5 kB / 0.5219 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1395, allocations: 8 kB / 0.5219 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1395, allocations: 0 / 0.5219 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1396, allocations: 4.188 kB / 0.5219 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1397, allocations: 27.92 kB / 0.522 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.1397, allocations: 8 kB / 0.522 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.856e-05/0.1398, allocations: 11.94 kB / 0.522 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1398, allocations: 8.125 kB / 0.522 GB, free: 1.059 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.0001162/0.1399, allocations: 125.8 kB / 0.5221 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.14, allocations: 7.953 kB / 0.5221 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.515e-05/0.14, allocations: 12.39 kB / 0.5221 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.14, allocations: 7.938 kB / 0.5221 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.14, allocations: 3.984 kB / 0.5221 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.14, allocations: 0 / 0.5221 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.1403, allocations: 176.6 kB / 0.5223 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1403, allocations: 0 / 0.5223 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.941e-05/0.1404, allocations: 27.92 kB / 0.5223 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1404, allocations: 0 / 0.5223 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1404, allocations: 0 / 0.5223 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.1404, allocations: 7.938 kB / 0.5223 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1404, allocations: 0 / 0.5223 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.1407, allocations: 179.5 kB / 0.5225 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.1407, allocations: 7.953 kB / 0.5225 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.1407, allocations: 4 kB / 0.5225 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1408, allocations: 15.92 kB / 0.5225 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.1409, allocations: 4 kB / 0.5226 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1409, allocations: 0 / 0.5226 GB, free: 432 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.141, allocations: 119.9 kB / 0.5227 GB, free: 312 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.141, allocations: 0 / 0.5227 GB, free: 312 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1413, allocations: 27.89 kB / 0.5227 GB, free: 284 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.0008682/0.1421, allocations: 0.7162 MB / 0.5234 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.1424, allocations: 63.89 kB / 0.5235 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1424, allocations: 0 / 0.5235 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1425, allocations: 36.28 kB / 0.5235 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1429, allocations: 12.06 kB / 0.5235 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.1453, allocations: 1.645 MB / 0.5251 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.1458, allocations: 0.708 MB / 0.5258 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.161e-05/0.1459, allocations: 8.656 kB / 0.5258 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/0.1459, allocations: 35.42 kB / 0.5258 GB, free: 12.9 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1459, allocations: 4 kB / 0.5258 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.1765, allocations: 2.294 MB / 0.5281 GB, free: 10.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11, allocations: 3.984 kB / 0.5281 GB, free: 10.6 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.061894003069028]