Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 197.2 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.12 MB / 344.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 87.81 kB / 481 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3292, allocations: 62.44 MB / 0.5307 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003936/0.3332, allocations: 2.288 MB / 0.533 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.3356, allocations: 1.316 MB / 0.5342 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.3357, allocations: 6.75 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.3361, allocations: 138.1 kB / 0.5344 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005499/0.3367, allocations: 251.8 kB / 0.5346 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.3371, allocations: 195.4 kB / 0.5348 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005507/0.3377, allocations: 460.8 kB / 0.5352 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.3379, allocations: 63.05 kB / 0.5353 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000347/0.3382, allocations: 296.6 kB / 0.5356 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.3385, allocations: 162.5 kB / 0.5357 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.568e-05/0.3385, allocations: 16.09 kB / 0.5358 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.3387, allocations: 75.72 kB / 0.5358 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.3389, allocations: 153.5 kB / 0.536 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.339, allocations: 201.5 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.3396, allocations: 484.8 kB / 0.5366 GB, free: 9.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3396, allocations: 1.094 kB / 0.5366 GB, free: 9.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3396, allocations: 0 / 0.5366 GB, free: 9.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3396, allocations: 4 kB / 0.5366 GB, free: 9.035 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001215/0.3409, allocations: 0.9192 MB / 0.5375 GB, free: 8.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3409, allocations: 13.8 kB / 0.5375 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.713e-05/0.341, allocations: 46.98 kB / 0.5376 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.3411, allocations: 71.97 kB / 0.5377 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.3417, allocations: 446.3 kB / 0.5381 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.3417, allocations: 15.12 kB / 0.5381 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.3418, allocations: 25.83 kB / 0.5381 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.3422, allocations: 196.2 kB / 0.5383 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3422, allocations: 1.219 kB / 0.5383 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.3422, allocations: 6.281 kB / 0.5383 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3422, allocations: 3.312 kB / 0.5383 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.3425, allocations: 98.36 kB / 0.5384 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009097/0.3434, allocations: 0.8205 MB / 0.5392 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006243/0.344, allocations: 248.7 kB / 0.5395 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.3442, allocations: 92.69 kB / 0.5395 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.3442, allocations: 4.656 kB / 0.5395 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003646/0.3446, allocations: 209.8 kB / 0.5397 GB, free: 6.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.3446, allocations: 0 / 0.5397 GB, free: 6.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002485/0.3471, allocations: 1.207 MB / 0.5409 GB, free: 5.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/0.3472, allocations: 141.3 kB / 0.5411 GB, free: 5.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.3483, allocations: 0.9636 MB / 0.542 GB, free: 5.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/0.3483, allocations: 34.39 kB / 0.542 GB, free: 4.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.3486, allocations: 270.9 kB / 0.5423 GB, free: 4.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.3487, allocations: 142.5 kB / 0.5424 GB, free: 4.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.3488, allocations: 84.27 kB / 0.5425 GB, free: 4.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.349, allocations: 325.1 kB / 0.5428 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.3492, allocations: 116.3 kB / 0.5429 GB, free: 4.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.3495, allocations: 183.1 kB / 0.5431 GB, free: 4.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/0.3501, allocations: 316.9 kB / 0.5434 GB, free: 3.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3501, allocations: 1.344 kB / 0.5434 GB, free: 3.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007646/0.3508, allocations: 440.9 kB / 0.5438 GB, free: 3.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3509, allocations: 9.062 kB / 0.5438 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3509, allocations: 1.938 kB / 0.5438 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3509, allocations: 8.094 kB / 0.5438 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.3512, allocations: 92.86 kB / 0.5439 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.3512, allocations: 7.469 kB / 0.5439 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.3514, allocations: 20.45 kB / 0.544 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.3514, allocations: 16.88 kB / 0.544 GB, free: 3.605 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002915/0.3517, allocations: 253 kB / 0.5442 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.3518, allocations: 85.95 kB / 0.5443 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.352, allocations: 87.45 kB / 0.5444 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.352, allocations: 8 kB / 0.5444 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.352, allocations: 11.86 kB / 0.5444 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.352, allocations: 3.984 kB / 0.5444 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.3538, allocations: 1.338 MB / 0.5457 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3538, allocations: 4 kB / 0.5457 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.3539, allocations: 63.91 kB / 0.5458 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.354, allocations: 4 kB / 0.5458 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.354, allocations: 16.25 kB / 0.5458 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.354, allocations: 7.984 kB / 0.5458 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.354, allocations: 7.938 kB / 0.5458 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008943/0.3549, allocations: 0.7978 MB / 0.5466 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.3551, allocations: 180.9 kB / 0.5468 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.3552, allocations: 27.92 kB / 0.5468 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.3555, allocations: 15.98 kB / 0.5468 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.3556, allocations: 35.91 kB / 0.5468 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.3556, allocations: 27.92 kB / 0.5469 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007711/0.3564, allocations: 0.706 MB / 0.5476 GB, free: 15.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3564, allocations: 0 / 0.5476 GB, free: 15.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005087/0.3569, allocations: 83.94 kB / 0.5476 GB, free: 15.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003057/0.36, allocations: 1.766 MB / 0.5494 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006123/0.3606, allocations: 319.5 kB / 0.5497 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3606, allocations: 3.938 kB / 0.5497 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.3609, allocations: 163.7 kB / 0.5498 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009545/0.3619, allocations: 124.9 kB / 0.5499 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006496/0.3684, allocations: 5.132 MB / 0.555 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.369, allocations: 0.9133 MB / 0.5558 GB, free: 7.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00023/0.3692, allocations: 87.28 kB / 0.5559 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.3695, allocations: 211.3 kB / 0.5561 GB, free: 7.062 MB / 414.1 MB Notification: Performance of SimCode: time 2.805e-06/0.3696, allocations: 0 / 0.5561 GB, free: 7.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.4044, allocations: 11.51 MB / 0.5674 GB, free: 11.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/8.91, allocations: 4.953 kB / 0.5674 GB, free: 11.66 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches