Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001585/0.001585, allocations: 104.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001912/0.001912, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.3 MB, free: 9.051 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 78.69 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1275, allocations: 62.45 MB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.004567/0.1321, allocations: 1.742 MB / 481.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.134, allocations: 0.9978 MB / 482.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.1341, allocations: 0 / 482.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.1345, allocations: 59.8 kB / 482.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003835/0.135, allocations: 79.73 kB / 482.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1352, allocations: 59.88 kB / 482.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.1355, allocations: 103.6 kB / 482.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.1355, allocations: 8.234 kB / 482.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1356, allocations: 39.78 kB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1358, allocations: 35.78 kB / 482.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1358, allocations: 4 kB / 482.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1359, allocations: 27.98 kB / 482.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.136, allocations: 31.84 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.199e-05/0.136, allocations: 39.69 kB / 482.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1363, allocations: 119.8 kB / 482.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1363, allocations: 0 / 482.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.061e-06/0.1363, allocations: 4 kB / 482.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1363, allocations: 0 / 482.7 MB, free: 2.219 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005812/0.1369, allocations: 434.7 kB / 483.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.137, allocations: 16.81 kB / 483.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.137, allocations: 34.75 kB / 483.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.1371, allocations: 8.844 kB / 483.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.1373, allocations: 224.8 kB / 483.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1374, allocations: 4.312 kB / 483.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.1374, allocations: 7.938 kB / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1375, allocations: 53.67 kB / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1375, allocations: 0 / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1376, allocations: 0 / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1376, allocations: 0 / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.1376, allocations: 15.98 kB / 483.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.1379, allocations: 189.7 kB / 483.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.138, allocations: 62.5 kB / 483.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.003e-05/0.1381, allocations: 24.83 kB / 483.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1381, allocations: 4 kB / 483.8 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.1384, allocations: 63.39 kB / 483.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.1384, allocations: 0 / 483.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003025/0.1387, allocations: 101.4 kB / 484 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.1387, allocations: 55.41 kB / 484 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.139, allocations: 271 kB / 484.3 MB, free: 488 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.139, allocations: 25.7 kB / 484.3 MB, free: 456 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.1391, allocations: 112.1 kB / 484.4 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1391, allocations: 11.91 kB / 484.4 MB, free: 328 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.1392, allocations: 17.72 kB / 484.4 MB, free: 304 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1393, allocations: 322.8 kB / 484.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-05/0.1393, allocations: 15.98 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.954e-05/0.1394, allocations: 37.7 kB / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.794e-05/0.1395, allocations: 41.66 kB / 484.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1395, allocations: 3.938 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001671/0.1397, allocations: 89.73 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1397, allocations: 4 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1397, allocations: 0 / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1398, allocations: 4 kB / 484.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.678e-05/0.1399, allocations: 15.97 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1399, allocations: 0 / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.557e-05/0.1399, allocations: 15.83 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1399, allocations: 0 / 485 MB, free: 15.73 MB / 366.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 (7): * Single equations (assignments): 7 * 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.0001135/0.1401, allocations: 137.8 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.1401, allocations: 11.91 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.1401, allocations: 13 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1401, allocations: 7.938 kB / 485.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1402, allocations: 3.984 kB / 485.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1402, allocations: 7.938 kB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.1403, allocations: 205.5 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1403, allocations: 0 / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.343e-05/0.1404, allocations: 4 kB / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1404, allocations: 0 / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1404, allocations: 4 kB / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1404, allocations: 0 / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1404, allocations: 0 / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.1406, allocations: 120.8 kB / 485.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.1406, allocations: 85.02 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1407, allocations: 4 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.1407, allocations: 3.984 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.1408, allocations: 4 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.1408, allocations: 0 / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.141, allocations: 208.4 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.141, allocations: 0 / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.1412, allocations: 16 kB / 485.8 MB, free: 14.82 MB / 366.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001244/0.1424, allocations: 0.9582 MB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.1426, allocations: 39.98 kB / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1426, allocations: 0 / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.258e-05/0.1427, allocations: 23.92 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.143, allocations: 28.05 kB / 486.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.1447, allocations: 1.688 MB / 488.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.145, allocations: 0.7199 MB / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.545e-05/0.145, allocations: 16.53 kB / 489.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.1451, allocations: 35.42 kB / 489.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1451, allocations: 0 / 489.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.1593, allocations: 3.242 MB / 492.5 MB, free: 8.16 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.1595, allocations: 241 kB / 492.8 MB, free: 7.906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.047, allocations: 0 / 492.8 MB, free: 7.906 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches