Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007485/0.0007485, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008615/0.0008615, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1906/0.1906, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002354/0.0002355, allocations: 12 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08696/0.08721, allocations: 63.55 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.001923/0.08915, allocations: 1.637 MB / 484.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.0908, allocations: 1.088 MB / 485.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.712e-05/0.0909, allocations: 3.938 kB / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.09131, allocations: 247.5 kB / 486.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003604/0.09168, allocations: 203.4 kB / 486.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.09193, allocations: 99.78 kB / 486.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.09222, allocations: 263.2 kB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.805e-05/0.09233, allocations: 29.67 kB / 486.7 MB, free: 488 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.0925, allocations: 115.5 kB / 486.8 MB, free: 372 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.09269, allocations: 187.4 kB / 487 MB, free: 184 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.09272, allocations: 7.938 kB / 487 MB, free: 176 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.09285, allocations: 55.98 kB / 487.1 MB, free: 120 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.567e-05/0.09293, allocations: 63.75 kB / 487.2 MB, free: 56 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.995e-05/0.09304, allocations: 120.9 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.09331, allocations: 235.4 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.09332, allocations: 0 / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.09333, allocations: 7.938 kB / 487.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.09334, allocations: 0 / 487.5 MB, free: 15.69 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006113/0.09396, allocations: 0.541 MB / 488.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.094, allocations: 8.875 kB / 488.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.09404, allocations: 42.73 kB / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.0941, allocations: 36.47 kB / 488.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.09439, allocations: 290.4 kB / 488.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.09441, allocations: 4.375 kB / 488.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.09444, allocations: 15.94 kB / 488.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.09466, allocations: 107.3 kB / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.09468, allocations: 0 / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.0947, allocations: 0 / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.09471, allocations: 4 kB / 488.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.09484, allocations: 51.91 kB / 488.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004947/0.09534, allocations: 488.6 kB / 489.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.0957, allocations: 125.2 kB / 489.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.521e-05/0.09581, allocations: 41.83 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.09584, allocations: 7.984 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.09606, allocations: 129.2 kB / 489.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.09607, allocations: 0 / 489.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001216/0.09729, allocations: 0.5036 MB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.09735, allocations: 85.09 kB / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.09781, allocations: 497.7 kB / 490.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.09784, allocations: 33.69 kB / 490.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.09796, allocations: 172.4 kB / 490.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.09802, allocations: 67.09 kB / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.09806, allocations: 21.72 kB / 490.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.09819, allocations: 354.8 kB / 491.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.09832, allocations: 63.91 kB / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.09847, allocations: 87.41 kB / 491.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.09874, allocations: 167.4 kB / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.09875, allocations: 0 / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003841/0.09914, allocations: 237 kB / 491.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.09916, allocations: 6.656 kB / 491.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.09917, allocations: 0 / 491.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.09919, allocations: 4.062 kB / 491.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.09934, allocations: 51.91 kB / 491.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.09935, allocations: 0 / 491.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.742e-05/0.09944, allocations: 8 kB / 491.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.09947, allocations: 11.94 kB / 491.7 MB, free: 11.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001492/0.09962, allocations: 178.3 kB / 491.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.09967, allocations: 43.45 kB / 491.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.339e-05/0.09975, allocations: 42.89 kB / 492 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.09976, allocations: 0 / 492 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.09977, allocations: 4 kB / 492 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.09978, allocations: 4 kB / 492 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008435/0.1006, allocations: 0.7468 MB / 492.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1006, allocations: 0 / 492.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/0.1007, allocations: 24 kB / 492.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.1007, allocations: 7.984 kB / 492.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1008, allocations: 8 kB / 492.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.1008, allocations: 7.938 kB / 492.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1008, allocations: 4.875 kB / 492.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.1012, allocations: 417.8 kB / 493.2 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.1013, allocations: 112.6 kB / 493.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.1013, allocations: 11.94 kB / 493.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.1015, allocations: 12 kB / 493.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.1016, allocations: 27.91 kB / 493.3 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.1016, allocations: 11.94 kB / 493.4 MB, free: 9.422 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003286/0.1019, allocations: 375.1 kB / 493.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1019, allocations: 0 / 493.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.1023, allocations: 51.98 kB / 493.8 MB, free: 9.008 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001675/0.104, allocations: 1.358 MB / 495.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.1043, allocations: 163.8 kB / 495.3 MB, free: 7.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1043, allocations: 3.938 kB / 495.3 MB, free: 7.641 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.1045, allocations: 79.84 kB / 495.4 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.1051, allocations: 65.94 kB / 495.4 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.1083, allocations: 3.072 MB / 498.5 MB, free: 4.297 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1086, allocations: 0.7872 MB / 499.3 MB, free: 3.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.1087, allocations: 37.92 kB / 499.3 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.1089, allocations: 103.4 kB / 499.4 MB, free: 3.344 MB / 366.1 MB Notification: Performance of SimCode: time 2.595e-06/0.1089, allocations: 0 / 499.4 MB, free: 3.344 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.1242, allocations: 6.049 MB / 0.4936 GB, free: 13.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/0.1244, allocations: 246.4 kB / 0.4939 GB, free: 13.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/1.886, allocations: 0 / 0.4939 GB, free: 13.17 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches