Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007228/0.0007229, allocations: 92.42 kB / 17.36 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008487/0.0008487, allocations: 199.9 kB / 18.28 MB, free: 5.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, 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.1835/0.1835, allocations: 46.18 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002353/0.0002354, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09155/0.0918, allocations: 63.56 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.001812/0.09363, allocations: 1.446 MB / 484.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.09516, allocations: 0.9902 MB / 485.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.09525, allocations: 0 / 485.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.0955, allocations: 31.89 kB / 485.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.09577, allocations: 87.67 kB / 485.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.09597, allocations: 59.88 kB / 485.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.09614, allocations: 103.7 kB / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.081e-05/0.09623, allocations: 4 kB / 485.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.924e-05/0.09632, allocations: 43.72 kB / 486 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.0964, allocations: 35.78 kB / 486 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.09642, allocations: 0 / 486 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.745e-05/0.09652, allocations: 43.98 kB / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.04e-05/0.09658, allocations: 27.91 kB / 486.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.09665, allocations: 61.44 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.09683, allocations: 111.9 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.09684, allocations: 3.938 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.09684, allocations: 0 / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.09685, allocations: 0 / 486.2 MB, free: 1.016 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.0004538/0.09731, allocations: 409.2 kB / 486.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.09736, allocations: 12.88 kB / 486.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.0974, allocations: 30.75 kB / 486.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.09744, allocations: 12.84 kB / 486.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.09765, allocations: 218.6 kB / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.09767, allocations: 384 / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.09769, allocations: 7.938 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.09783, allocations: 57.61 kB / 487 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.09785, allocations: 0 / 487 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.09787, allocations: 0 / 487 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.09788, allocations: 4 kB / 487 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.94e-05/0.09795, allocations: 15.98 kB / 487 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.0983, allocations: 296.8 kB / 487.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.09847, allocations: 54.61 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.09853, allocations: 24.84 kB / 487.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.09856, allocations: 0 / 487.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.09872, allocations: 67.39 kB / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.09873, allocations: 0 / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005076/0.09925, allocations: 177.5 kB / 487.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.09929, allocations: 51.41 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.09948, allocations: 198.7 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.0995, allocations: 29.7 kB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.09956, allocations: 100.1 kB / 488 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.0996, allocations: 27.7 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.09963, allocations: 17.72 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.09974, allocations: 318.8 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.09981, allocations: 23.98 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.09988, allocations: 41.64 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1, allocations: 53.7 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1, allocations: 4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001895/0.1002, allocations: 105.4 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1002, allocations: 4 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1002, allocations: 0 / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1003, allocations: 0 / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.1004, allocations: 24.05 kB / 488.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1004, allocations: 0 / 488.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.1004, allocations: 8.125 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1004, allocations: 0 / 488.6 MB, free: 14.43 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 0.0001034/0.1005, allocations: 143.8 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.1006, allocations: 11.84 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.1006, allocations: 17.39 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1006, allocations: 4 kB / 488.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1006, allocations: 0 / 488.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1007, allocations: 3.938 kB / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.1011, allocations: 395.2 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1011, allocations: 4.031 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.1011, allocations: 11.98 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.247e-06/0.1011, allocations: 3.938 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1012, allocations: 0 / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1012, allocations: 4 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1012, allocations: 0 / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1014, allocations: 196.3 kB / 489.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.1015, allocations: 108.8 kB / 489.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.1015, allocations: 3.938 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.1016, allocations: 4 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.1016, allocations: 7.984 kB / 489.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.1016, allocations: 4 kB / 489.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1018, allocations: 152.7 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1018, allocations: 0 / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.102, allocations: 24 kB / 489.7 MB, free: 13.25 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.001372/0.1034, allocations: 1.096 MB / 490.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.1036, allocations: 51.97 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1036, allocations: 0 / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.093e-05/0.1037, allocations: 35.92 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.104, allocations: 19.98 kB / 490.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.1057, allocations: 1.67 MB / 492.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.1059, allocations: 0.7121 MB / 493.2 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.145e-05/0.106, allocations: 25.17 kB / 493.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.106, allocations: 35.42 kB / 493.3 MB, free: 9.617 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.106, allocations: 0 / 493.3 MB, free: 9.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01242/0.1185, allocations: 3.007 MB / 496.3 MB, free: 6.742 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.1187, allocations: 236 kB / 496.5 MB, free: 6.488 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/1.803, allocations: 0 / 496.5 MB, free: 6.488 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches