Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001773/0.001773, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 76.73 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1036, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004448/0.1081, allocations: 2.277 MB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.111, allocations: 1.309 MB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.1113, allocations: 7.938 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.1118, allocations: 131.3 kB / 483.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000736/0.1126, allocations: 250.9 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.1131, allocations: 183.5 kB / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005639/0.1137, allocations: 458.7 kB / 484.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.1139, allocations: 61.34 kB / 484.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003738/0.1143, allocations: 263.1 kB / 485.1 MB, free: 264 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.1145, allocations: 159.2 kB / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-05/0.1146, allocations: 16 kB / 485.2 MB, free: 88 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.1148, allocations: 75.92 kB / 485.3 MB, free: 12 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.1149, allocations: 131.6 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.1151, allocations: 182.5 kB / 485.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.1155, allocations: 434.1 kB / 486 MB, free: 15.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1156, allocations: 4 kB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1156, allocations: 0 / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.1156, allocations: 0 / 486 MB, free: 15.27 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001222/0.1168, allocations: 0.8205 MB / 486.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1169, allocations: 8.031 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.601e-05/0.1169, allocations: 46.73 kB / 486.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.1171, allocations: 60.19 kB / 487 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005139/0.1176, allocations: 416.5 kB / 487.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.1176, allocations: 12.38 kB / 487.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.1177, allocations: 23.84 kB / 487.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.1181, allocations: 192.9 kB / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.1181, allocations: 4 kB / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.1181, allocations: 4 kB / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1181, allocations: 4 kB / 487.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.1184, allocations: 95.84 kB / 487.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.1193, allocations: 0.7976 MB / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/0.1199, allocations: 246.5 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1201, allocations: 91.45 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.1201, allocations: 12 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003954/0.1205, allocations: 208.3 kB / 489 MB, free: 12.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.734e-06/0.1206, allocations: 0 / 489 MB, free: 12.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002437/0.123, allocations: 1.111 MB / 490.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.1231, allocations: 136.5 kB / 490.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/0.1239, allocations: 0.797 MB / 491.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.124, allocations: 41.7 kB / 491.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.1241, allocations: 240.9 kB / 491.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.1243, allocations: 138.1 kB / 491.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/0.1244, allocations: 81.97 kB / 491.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1245, allocations: 378.8 kB / 491.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.1248, allocations: 112.8 kB / 492.1 MB, free: 8.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.1251, allocations: 187.2 kB / 492.2 MB, free: 8.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.1256, allocations: 314.7 kB / 492.5 MB, free: 8.375 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1256, allocations: 0 / 492.5 MB, free: 8.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007681/0.1264, allocations: 436.5 kB / 493 MB, free: 7.941 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1264, allocations: 8 kB / 493 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1264, allocations: 0 / 493 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.1264, allocations: 4.125 kB / 493 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.1267, allocations: 91.89 kB / 493.1 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.1267, allocations: 11.88 kB / 493.1 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.1269, allocations: 16 kB / 493.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.1269, allocations: 19.98 kB / 493.1 MB, free: 7.793 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002439/0.1272, allocations: 228 kB / 493.3 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.282e-05/0.1273, allocations: 67.16 kB / 493.4 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.1274, allocations: 89.12 kB / 493.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1274, allocations: 8 kB / 493.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.1274, allocations: 3.938 kB / 493.5 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1275, allocations: 11.92 kB / 493.5 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.1291, allocations: 1.307 MB / 494.8 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.1291, allocations: 4.094 kB / 494.8 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.1293, allocations: 59.86 kB / 494.9 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.1293, allocations: 8.25 kB / 494.9 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.1293, allocations: 19.98 kB / 494.9 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.1293, allocations: 4 kB / 494.9 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.1293, allocations: 7.938 kB / 494.9 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008703/0.1302, allocations: 0.7783 MB / 495.7 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.1304, allocations: 172.3 kB / 495.9 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.941e-05/0.1305, allocations: 16 kB / 495.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.1308, allocations: 15.98 kB / 495.9 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.499e-05/0.1309, allocations: 43.89 kB / 495.9 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.1309, allocations: 16 kB / 496 MB, free: 4.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006141/0.1315, allocations: 0.5849 MB / 496.6 MB, free: 4.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1315, allocations: 0 / 496.6 MB, free: 4.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007193/0.1323, allocations: 95.91 kB / 496.6 MB, free: 4.113 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002293/0.1346, allocations: 1.743 MB / 498.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005987/0.1352, allocations: 339.5 kB / 498.7 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.1352, allocations: 0 / 498.7 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.1355, allocations: 168.4 kB / 498.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009067/0.1364, allocations: 129.1 kB / 499 MB, free: 1.895 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005816/0.1422, allocations: 4.881 MB / 0.4921 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/0.1428, allocations: 0.8936 MB / 0.493 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002317/0.143, allocations: 79.28 kB / 0.493 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.1433, allocations: 191.4 kB / 0.4932 GB, free: 11.63 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1433, allocations: 0 / 0.4932 GB, free: 11.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.1737, allocations: 10.66 MB / 0.5036 GB, free: 1.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.171/7.345, allocations: 15.94 kB / 0.5036 GB, free: 1.051 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches