Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009067/0.000907, allocations: 96.44 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008863/0.0008862, allocations: 204.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.7 MB / 246.8 MB, free: 9.656 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1879/0.1879, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002414/0.0002414, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1036, allocations: 63.56 MB / 483.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00198/0.1056, allocations: 1.454 MB / 484.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1073, allocations: 0.9902 MB / 485.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.534e-05/0.1074, allocations: 0 / 485.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.1077, allocations: 39.84 kB / 485.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.108, allocations: 71.75 kB / 485.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1083, allocations: 71.8 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1085, allocations: 91.7 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.766e-05/0.1086, allocations: 12 kB / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.841e-05/0.1087, allocations: 43.77 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.442e-05/0.1088, allocations: 31.8 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1088, allocations: 4 kB / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1089, allocations: 47.91 kB / 486 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.109, allocations: 15.92 kB / 486.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.108e-05/0.1091, allocations: 61.44 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.1093, allocations: 107.9 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1093, allocations: 0 / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.1093, allocations: 4 kB / 486.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1093, allocations: 0 / 486.2 MB, free: 0.9844 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000539/0.1099, allocations: 403.1 kB / 486.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.1099, allocations: 12.88 kB / 486.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.11, allocations: 34.75 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.11, allocations: 16.78 kB / 486.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.1102, allocations: 210.7 kB / 486.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1103, allocations: 4.312 kB / 486.9 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1103, allocations: 11.94 kB / 486.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.1104, allocations: 49.67 kB / 486.9 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1104, allocations: 0 / 486.9 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1105, allocations: 4 kB / 487 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1105, allocations: 4 kB / 487 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.629e-05/0.1105, allocations: 23.97 kB / 487 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.1109, allocations: 292.9 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.111, allocations: 54.69 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.1111, allocations: 20.84 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1111, allocations: 8 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.1113, allocations: 67.33 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1113, allocations: 0 / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004872/0.1118, allocations: 173.2 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.1118, allocations: 55.41 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.112, allocations: 198.7 kB / 487.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1121, allocations: 29.7 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.1121, allocations: 104.1 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1122, allocations: 19.72 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.1122, allocations: 17.7 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1123, allocations: 326.8 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.1124, allocations: 20 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.415e-05/0.1125, allocations: 33.7 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1126, allocations: 69.7 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1126, allocations: 0 / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000179/0.1128, allocations: 97.88 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1128, allocations: 11.98 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1128, allocations: 0 / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1128, allocations: 0 / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.1129, allocations: 19.94 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1129, allocations: 4 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.113, allocations: 7.969 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.113, allocations: 11.98 kB / 488.6 MB, free: 14.37 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 (10): * Single equations (assignments): 10 * 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 9.345e-05/0.1131, allocations: 117.8 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.1131, allocations: 11.91 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.1132, allocations: 17.39 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1132, allocations: 3.938 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1132, allocations: 0 / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1132, allocations: 3.938 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.1136, allocations: 399.2 kB / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1136, allocations: 0 / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.1137, allocations: 15.98 kB / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1137, allocations: 7.938 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1137, allocations: 0 / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1137, allocations: 3.938 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1137, allocations: 0 / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.1139, allocations: 200.3 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.1139, allocations: 96.91 kB / 489.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.114, allocations: 7.938 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.114, allocations: 0 / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.1141, allocations: 11.98 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.1141, allocations: 4 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1142, allocations: 152.7 kB / 489.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1142, allocations: 0 / 489.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1145, allocations: 32 kB / 489.7 MB, free: 13.2 MB / 366.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 (8): * Single equations (assignments): 6 * 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.001303/0.1158, allocations: 1.085 MB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.116, allocations: 55.91 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.116, allocations: 4 kB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.017e-05/0.1161, allocations: 31.97 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1164, allocations: 23.98 kB / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.1179, allocations: 1.677 MB / 492.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.1182, allocations: 0.7004 MB / 493.2 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.179e-05/0.1182, allocations: 24.8 kB / 493.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.1183, allocations: 35.42 kB / 493.3 MB, free: 9.578 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1183, allocations: 0 / 493.3 MB, free: 9.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/0.1306, allocations: 3.012 MB / 496.3 MB, free: 6.695 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.1308, allocations: 231.8 kB / 496.5 MB, free: 6.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.051, allocations: 0 / 496.5 MB, free: 6.445 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches