Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.00135/0.00135, 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.001446/0.001446, 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.476/1.476, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2386/0.2386, allocations: 46.9 MB / 357.4 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 82.8 kB / 0.4913 GB, free: 26.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1157, allocations: 65.98 MB / 0.5558 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003122/0.1188, allocations: 1.744 MB / 0.5575 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.1212, allocations: 1.652 MB / 0.5591 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.1213, allocations: 0 / 0.5591 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.1216, allocations: 31.77 kB / 0.5591 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.1219, allocations: 103.5 kB / 0.5592 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.1221, allocations: 79.67 kB / 0.5593 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.1223, allocations: 111.7 kB / 0.5594 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1224, allocations: 20.27 kB / 0.5594 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1225, allocations: 43.78 kB / 0.5595 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.1227, allocations: 43.83 kB / 0.5595 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1227, allocations: 12 kB / 0.5595 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.1229, allocations: 115.9 kB / 0.5596 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.123, allocations: 15.92 kB / 0.5596 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1231, allocations: 43.72 kB / 0.5597 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.1234, allocations: 179.3 kB / 0.5598 GB, free: 4.836 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1234, allocations: 0 / 0.5598 GB, free: 4.836 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1234, allocations: 0 / 0.5598 GB, free: 4.836 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1234, allocations: 0 / 0.5598 GB, free: 4.836 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006608/0.1241, allocations: 446.5 kB / 0.5603 GB, free: 4.352 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1241, allocations: 12.03 kB / 0.5603 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.1242, allocations: 30.75 kB / 0.5603 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.1242, allocations: 12.89 kB / 0.5603 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.1246, allocations: 212.2 kB / 0.5605 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1246, allocations: 8.375 kB / 0.5605 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.1246, allocations: 4.375 kB / 0.5605 GB, free: 4.031 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.1248, allocations: 87.42 kB / 0.5606 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1248, allocations: 3.953 kB / 0.5606 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1248, allocations: 8 kB / 0.5606 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1248, allocations: 0 / 0.5606 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.582e-05/0.1249, allocations: 23.98 kB / 0.5607 GB, free: 3.898 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.1254, allocations: 300.7 kB / 0.5609 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.1256, allocations: 70.61 kB / 0.561 GB, free: 3.477 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.707e-05/0.1257, allocations: 24.86 kB / 0.561 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1257, allocations: 0 / 0.561 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.126, allocations: 75.31 kB / 0.5611 GB, free: 3.363 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.126, allocations: 0 / 0.5611 GB, free: 3.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000644/0.1267, allocations: 197.5 kB / 0.5613 GB, free: 3.164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.1268, allocations: 81.14 kB / 0.5614 GB, free: 3.066 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.127, allocations: 174.2 kB / 0.5615 GB, free: 2.883 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.127, allocations: 33.7 kB / 0.5616 GB, free: 2.844 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.1271, allocations: 100.1 kB / 0.5617 GB, free: 2.742 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.1271, allocations: 31.73 kB / 0.5617 GB, free: 2.711 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.1272, allocations: 21.72 kB / 0.5617 GB, free: 2.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002647/0.1275, allocations: 326.8 kB / 0.562 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.971e-05/0.1275, allocations: 27.98 kB / 0.5621 GB, free: 2.328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.621e-05/0.1276, allocations: 50.56 kB / 0.5621 GB, free: 2.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.1279, allocations: 73.64 kB / 0.5622 GB, free: 2.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1279, allocations: 0 / 0.5622 GB, free: 2.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002165/0.1281, allocations: 113.5 kB / 0.5623 GB, free: 2.074 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1281, allocations: 8 kB / 0.5623 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1281, allocations: 0 / 0.5623 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1281, allocations: 0 / 0.5623 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1282, allocations: 19.98 kB / 0.5623 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1282, allocations: 4.062 kB / 0.5623 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/0.1283, allocations: 8 kB / 0.5623 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1283, allocations: 0 / 0.5623 GB, free: 2.035 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001891/0.1285, allocations: 129.7 kB / 0.5624 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.1285, allocations: 19.94 kB / 0.5625 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.1286, allocations: 12.72 kB / 0.5625 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1286, allocations: 0 / 0.5625 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1286, allocations: 0 / 0.5625 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1286, allocations: 0 / 0.5625 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006741/0.1292, allocations: 423.2 kB / 0.5629 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1293, allocations: 3.938 kB / 0.5629 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.438e-05/0.1293, allocations: 20.08 kB / 0.5629 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1293, allocations: 3.938 kB / 0.5629 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1293, allocations: 0 / 0.5629 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.1293, allocations: 7.938 kB / 0.5629 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1293, allocations: 4 kB / 0.5629 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.1297, allocations: 216.3 kB / 0.5631 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.1297, allocations: 85.06 kB / 0.5632 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.1298, allocations: 4 kB / 0.5632 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.1298, allocations: 3.938 kB / 0.5632 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.1299, allocations: 7.984 kB / 0.5632 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.1299, allocations: 8 kB / 0.5632 GB, free: 1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.13, allocations: 136.1 kB / 0.5634 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.13, allocations: 0 / 0.5634 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004163/0.1305, allocations: 47.86 kB / 0.5634 GB, free: 0.8203 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002432/0.1329, allocations: 1.198 MB / 0.5646 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.1331, allocations: 71.83 kB / 0.5646 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1331, allocations: 7.938 kB / 0.5646 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.771e-05/0.1332, allocations: 23.98 kB / 0.5647 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1336, allocations: 34.08 kB / 0.5647 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.1357, allocations: 1.653 MB / 0.5663 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.1362, allocations: 0.6967 MB / 0.567 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.446e-05/0.1363, allocations: 36.55 kB / 0.567 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.028e-05/0.1363, allocations: 39.42 kB / 0.5671 GB, free: 13.12 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1363, allocations: 0 / 0.5671 GB, free: 13.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.1685, allocations: 4.209 MB / 0.5712 GB, free: 8.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.323, allocations: 6.594 kB / 0.5712 GB, free: 8.926 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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: 11.460371740162373]