Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008588/0.0008589, allocations: 94.47 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009651/0.0009651, allocations: 200.9 kB / 18.28 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.334/1.334, allocations: 227.7 MB / 246.8 MB, free: 9.695 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1704/0.1704, allocations: 46.19 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002605, allocations: 12 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1107, allocations: 63.56 MB / 483.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002088/0.1128, allocations: 1.65 MB / 484.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1143, allocations: 1.029 MB / 485.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1145, allocations: 8 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.1147, allocations: 35.83 kB / 485.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.115, allocations: 79.69 kB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.1152, allocations: 79.8 kB / 486.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.1154, allocations: 135.6 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1155, allocations: 29.5 kB / 486.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.028e-05/0.1156, allocations: 47.72 kB / 486.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.68e-05/0.1157, allocations: 51.64 kB / 486.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1157, allocations: 4 kB / 486.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.596e-05/0.1158, allocations: 47.92 kB / 486.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.1159, allocations: 15.92 kB / 486.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.821e-05/0.116, allocations: 77.36 kB / 486.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.1162, allocations: 143.7 kB / 486.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1162, allocations: 0 / 486.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1162, allocations: 4 kB / 486.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1162, allocations: 0 / 486.6 MB, free: 0.5898 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005295/0.1167, allocations: 464.5 kB / 487.1 MB, free: 84 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1168, allocations: 8.875 kB / 487.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.1168, allocations: 42.73 kB / 487.1 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.1169, allocations: 16.75 kB / 487.1 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.1171, allocations: 224.8 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1171, allocations: 12.38 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1171, allocations: 7.938 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.1174, allocations: 112.2 kB / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1174, allocations: 0 / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1174, allocations: 3.938 kB / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1174, allocations: 4 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.1176, allocations: 55.91 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.1181, allocations: 0.5125 MB / 488 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.1184, allocations: 90.59 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.715e-05/0.1185, allocations: 40.83 kB / 488.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1185, allocations: 4 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.1187, allocations: 87.38 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.966e-06/0.1187, allocations: 0 / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000367/0.1191, allocations: 145.7 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.1191, allocations: 59.34 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1193, allocations: 206.2 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1193, allocations: 29.64 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.1194, allocations: 124 kB / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.1194, allocations: 19.72 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.1195, allocations: 21.7 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.1196, allocations: 326.8 kB / 489.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.1197, allocations: 23.98 kB / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1198, allocations: 75.39 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.12, allocations: 100.2 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.12, allocations: 0 / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002632/0.1202, allocations: 137.4 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1203, allocations: 11.98 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1203, allocations: 128 / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1203, allocations: 15.88 kB / 489.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.1204, allocations: 16 kB / 489.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.1204, allocations: 7.984 kB / 489.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.95e-05/0.1205, allocations: 15.84 kB / 489.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.1205, allocations: 8 kB / 489.6 MB, free: 13.32 MB / 366.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: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001061/0.1206, allocations: 132.1 kB / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1207, allocations: 15.8 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.1207, allocations: 21.41 kB / 489.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1207, allocations: 3.938 kB / 489.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.1207, allocations: 0 / 489.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1207, allocations: 0 / 489.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.1209, allocations: 213.6 kB / 490 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1209, allocations: 3.938 kB / 490 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.197e-05/0.121, allocations: 12 kB / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.121, allocations: 96 / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.121, allocations: 11.94 kB / 490 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.121, allocations: 7.938 kB / 490 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.121, allocations: 7.984 kB / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.1214, allocations: 180.8 kB / 490.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.1215, allocations: 92.89 kB / 490.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1215, allocations: 11.98 kB / 490.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.1216, allocations: 12 kB / 490.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.1216, allocations: 7.984 kB / 490.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1216, allocations: 4 kB / 490.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.1217, allocations: 144.4 kB / 490.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1217, allocations: 3.938 kB / 490.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.122, allocations: 28.12 kB / 490.5 MB, free: 12.33 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (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.001367/0.1233, allocations: 1.013 MB / 491.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1236, allocations: 92.02 kB / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.1236, allocations: 0 / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.725e-05/0.1237, allocations: 43.86 kB / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.124, allocations: 43.42 kB / 491.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.1261, allocations: 1.775 MB / 493.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.1264, allocations: 0.7203 MB / 494.2 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.399e-05/0.1265, allocations: 13.42 kB / 494.2 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.1266, allocations: 51.41 kB / 494.2 MB, free: 8.562 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1266, allocations: 0 / 494.2 MB, free: 8.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.043/1.17, allocations: 3.335 MB / 497.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/1.17, allocations: 237.2 kB / 497.8 MB, free: 5.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/3.144, allocations: 0 / 497.8 MB, free: 5.098 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches