Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001061/0.001062, allocations: 117.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 212.5 kB / 18.74 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3446, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002988/0.3477, allocations: 1.684 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.3492, allocations: 0.9972 MB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.3493, allocations: 1.375 kB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.3497, allocations: 63.11 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.35, allocations: 113.9 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.3502, allocations: 69.61 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.3503, allocations: 107.5 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.3504, allocations: 4.234 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.3505, allocations: 55.67 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.3506, allocations: 40.84 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.3506, allocations: 6.5 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.113e-05/0.3507, allocations: 37.14 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.3508, allocations: 18.59 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.3509, allocations: 35.22 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.3511, allocations: 108.4 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3511, allocations: 0 / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.3511, allocations: 0 / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3511, allocations: 3.938 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005535/0.3516, allocations: 407.4 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3517, allocations: 13.64 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.3517, allocations: 31.94 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.3518, allocations: 9.219 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3521, allocations: 220.3 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3521, allocations: 1.438 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.3521, allocations: 6.25 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.3522, allocations: 46.86 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3523, allocations: 3.938 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3523, allocations: 1.094 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3523, allocations: 0 / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.845e-05/0.3524, allocations: 16.73 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.3525, allocations: 187.4 kB / 0.5347 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.3527, allocations: 54.56 kB / 0.5348 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.3528, allocations: 20.84 kB / 0.5348 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3528, allocations: 1.188 kB / 0.5348 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.3529, allocations: 68.58 kB / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.353, allocations: 4 kB / 0.5349 GB, free: 9.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002647/0.3532, allocations: 95.56 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.3533, allocations: 52.53 kB / 0.535 GB, free: 9.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.3535, allocations: 196.1 kB / 0.5352 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.3535, allocations: 25.7 kB / 0.5352 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.3535, allocations: 101.3 kB / 0.5353 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.3536, allocations: 22.56 kB / 0.5354 GB, free: 9.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.3536, allocations: 22.52 kB / 0.5354 GB, free: 9.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3537, allocations: 326.7 kB / 0.5357 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.697e-05/0.3538, allocations: 14.81 kB / 0.5357 GB, free: 8.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.474e-05/0.3539, allocations: 32.7 kB / 0.5357 GB, free: 8.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.354, allocations: 38.8 kB / 0.5358 GB, free: 8.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.354, allocations: 3.938 kB / 0.5358 GB, free: 8.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001518/0.3541, allocations: 92.31 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3542, allocations: 5.5 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3542, allocations: 0 / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3542, allocations: 1.375 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.3543, allocations: 16.17 kB / 0.5359 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3543, allocations: 1.375 kB / 0.5359 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.3543, allocations: 2.75 kB / 0.5359 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.3543, allocations: 1.375 kB / 0.5359 GB, free: 8.863 MB / 398.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 (7): * Single equations (assignments): 7 * 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.215e-05/0.3544, allocations: 123.4 kB / 0.536 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.3545, allocations: 23.89 kB / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.3545, allocations: 14.5 kB / 0.536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3545, allocations: 0 / 0.536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3545, allocations: 1.375 kB / 0.536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.3545, allocations: 0 / 0.536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.3547, allocations: 188.7 kB / 0.5362 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3547, allocations: 1.688 kB / 0.5362 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.3547, allocations: 2.75 kB / 0.5362 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3547, allocations: 0 / 0.5362 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3547, allocations: 9.375 kB / 0.5362 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3547, allocations: 1.375 kB / 0.5362 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3547, allocations: 4 kB / 0.5362 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.3549, allocations: 106 kB / 0.5363 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.355, allocations: 87.67 kB / 0.5364 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.355, allocations: 9.359 kB / 0.5364 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.308e-05/0.355, allocations: 1.375 kB / 0.5364 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.3551, allocations: 1.375 kB / 0.5364 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3551, allocations: 6.688 kB / 0.5364 GB, free: 8.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.3552, allocations: 152.1 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3552, allocations: 0 / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002068/0.3554, allocations: 17.75 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001257/0.3567, allocations: 0.9535 MB / 0.5375 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.3569, allocations: 47.69 kB / 0.5376 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3569, allocations: 0 / 0.5376 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.847e-05/0.357, allocations: 15.72 kB / 0.5376 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.3572, allocations: 39.28 kB / 0.5376 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.3588, allocations: 1.488 MB / 0.5391 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.3591, allocations: 0.7086 MB / 0.5398 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.002e-05/0.3592, allocations: 11.73 kB / 0.5398 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.3592, allocations: 30.11 kB / 0.5398 GB, free: 5.309 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3592, allocations: 0 / 0.5398 GB, free: 5.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.3795, allocations: 3.189 MB / 0.5429 GB, free: 3.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/7.819, allocations: 5.016 kB / 0.5429 GB, free: 3.555 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time