Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001078, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2121/0.2121, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 83.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3454, allocations: 62.43 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003039/0.3485, allocations: 1.741 MB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3502, allocations: 1.027 MB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.575e-05/0.3503, allocations: 1.375 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.3507, allocations: 110.3 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.351, allocations: 125.9 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.3513, allocations: 78.94 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.3515, allocations: 120.6 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3516, allocations: 15.95 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3517, allocations: 64.03 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.3519, allocations: 67 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3519, allocations: 4.531 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.352, allocations: 58.98 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.3521, allocations: 30.27 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.3522, allocations: 52.64 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.3524, allocations: 139.6 kB / 0.5341 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3524, allocations: 3.938 kB / 0.5341 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3524, allocations: 0 / 0.5341 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3524, allocations: 0 / 0.5341 GB, free: 10.72 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005788/0.353, allocations: 452.4 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3531, allocations: 9.25 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.3531, allocations: 32.81 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.3532, allocations: 15.12 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.3535, allocations: 226.5 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3535, allocations: 2.531 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.3535, allocations: 9.891 kB / 0.5349 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3537, allocations: 65.27 kB / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3537, allocations: 0 / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3537, allocations: 1.062 kB / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3538, allocations: 1.344 kB / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.3538, allocations: 19.8 kB / 0.5349 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.3543, allocations: 323.7 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.3545, allocations: 56.25 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.3546, allocations: 22.59 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.3546, allocations: 1.375 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.3547, allocations: 74.52 kB / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.3548, allocations: 0 / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007739/0.3555, allocations: 249 kB / 0.5356 GB, free: 9.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3556, allocations: 60.66 kB / 0.5357 GB, free: 9.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.3558, allocations: 254.2 kB / 0.5359 GB, free: 9.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3559, allocations: 26.83 kB / 0.536 GB, free: 9.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.3559, allocations: 111.2 kB / 0.5361 GB, free: 8.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.3561, allocations: 45.02 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.3561, allocations: 22.62 kB / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3563, allocations: 327.3 kB / 0.5364 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.417e-05/0.3563, allocations: 31.2 kB / 0.5365 GB, free: 8.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/0.3564, allocations: 43.84 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3566, allocations: 73.09 kB / 0.5366 GB, free: 8.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3566, allocations: 4 kB / 0.5366 GB, free: 8.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002464/0.3568, allocations: 138.7 kB / 0.5367 GB, free: 8.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3569, allocations: 5.344 kB / 0.5367 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3569, allocations: 0.875 kB / 0.5367 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3569, allocations: 5.031 kB / 0.5367 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.357, allocations: 24.55 kB / 0.5368 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.357, allocations: 5.094 kB / 0.5368 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.357, allocations: 6.719 kB / 0.5368 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3571, allocations: 3.844 kB / 0.5368 GB, free: 8.348 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 (13): * Single equations (assignments): 13 * 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.0001149/0.3572, allocations: 135.8 kB / 0.5369 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.3572, allocations: 15.97 kB / 0.5369 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.3573, allocations: 24.42 kB / 0.5369 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3574, allocations: 5.031 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3574, allocations: 1.125 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3574, allocations: 0 / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/0.358, allocations: 460.7 kB / 0.5374 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.358, allocations: 1.094 kB / 0.5374 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.358, allocations: 15.33 kB / 0.5374 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.358, allocations: 1.125 kB / 0.5374 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3581, allocations: 3.469 kB / 0.5374 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3581, allocations: 1.094 kB / 0.5374 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.3581, allocations: 5.062 kB / 0.5374 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.3584, allocations: 238.1 kB / 0.5376 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.3585, allocations: 94.03 kB / 0.5377 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.3585, allocations: 9.125 kB / 0.5377 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.3586, allocations: 2.5 kB / 0.5377 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.3586, allocations: 12.55 kB / 0.5378 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.3586, allocations: 4.469 kB / 0.5378 GB, free: 7.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.3588, allocations: 185.7 kB / 0.5379 GB, free: 7.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3588, allocations: 4 kB / 0.5379 GB, free: 7.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.3591, allocations: 33.58 kB / 0.538 GB, free: 7.297 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001575/0.3607, allocations: 1.168 MB / 0.5391 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.3609, allocations: 89.97 kB / 0.5392 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3609, allocations: 0 / 0.5392 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.857e-05/0.361, allocations: 36.17 kB / 0.5392 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3614, allocations: 39.91 kB / 0.5393 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.3636, allocations: 1.888 MB / 0.5411 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3639, allocations: 0.7137 MB / 0.5418 GB, free: 4.055 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.7e-05/0.364, allocations: 21.08 kB / 0.5418 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.998e-05/0.3641, allocations: 49.53 kB / 0.5419 GB, free: 4.008 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3641, allocations: 0 / 0.5419 GB, free: 4.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.3896, allocations: 4.069 MB / 0.5459 GB, free: 1.836 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/7.999, allocations: 16 kB / 0.5459 GB, free: 1.824 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time