Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247 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.2257/0.2257, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002213, allocations: 84.08 kB / 481 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.34, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003248/0.3433, allocations: 1.74 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.3458, allocations: 1.617 MB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.3459, allocations: 9.062 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.3462, allocations: 36.64 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.3466, allocations: 100.6 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.3468, allocations: 74.67 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.347, allocations: 106 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3471, allocations: 11.91 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.3472, allocations: 56.14 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.3474, allocations: 39 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.3474, allocations: 9.594 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.3476, allocations: 106.2 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.3477, allocations: 19.91 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.3478, allocations: 36.7 kB / 0.5346 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.3481, allocations: 169.5 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3481, allocations: 1.375 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3481, allocations: 0 / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3481, allocations: 0 / 0.5347 GB, free: 10.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000681/0.3488, allocations: 430.1 kB / 0.5351 GB, free: 9.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3488, allocations: 13.62 kB / 0.5352 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.3489, allocations: 36.11 kB / 0.5352 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.3489, allocations: 12.97 kB / 0.5352 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.3493, allocations: 220.9 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3493, allocations: 1.375 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.3493, allocations: 5.359 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.3495, allocations: 70.52 kB / 0.5355 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3495, allocations: 0 / 0.5355 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3496, allocations: 5.375 kB / 0.5355 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3496, allocations: 0 / 0.5355 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.178e-05/0.3496, allocations: 18.98 kB / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.35, allocations: 289.4 kB / 0.5358 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.3502, allocations: 57.92 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.3503, allocations: 21.11 kB / 0.5359 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3503, allocations: 1.375 kB / 0.5359 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.3505, allocations: 73.08 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3505, allocations: 5.312 kB / 0.5359 GB, free: 8.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005544/0.3511, allocations: 172.5 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.3511, allocations: 82.33 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.3514, allocations: 169.3 kB / 0.5363 GB, free: 8.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3514, allocations: 26.8 kB / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.3515, allocations: 100.4 kB / 0.5365 GB, free: 8.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.3515, allocations: 30.98 kB / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.3516, allocations: 21.16 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3518, allocations: 322 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.665e-05/0.3518, allocations: 22.89 kB / 0.5368 GB, free: 8.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.917e-05/0.3519, allocations: 45.75 kB / 0.5369 GB, free: 8.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.352, allocations: 62.58 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3521, allocations: 0 / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002061/0.3523, allocations: 95.25 kB / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3523, allocations: 5.406 kB / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3523, allocations: 1.125 kB / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3523, allocations: 1.031 kB / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3524, allocations: 25.16 kB / 0.5371 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.3524, allocations: 3.984 kB / 0.5371 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.404e-05/0.3525, allocations: 6.562 kB / 0.5371 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.3525, allocations: 2.812 kB / 0.5371 GB, free: 7.98 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 (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.0001037/0.3526, allocations: 120.3 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.3527, allocations: 10.36 kB / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.3527, allocations: 16.42 kB / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3527, allocations: 3.938 kB / 0.5372 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3527, allocations: 1.031 kB / 0.5372 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3527, allocations: 4 kB / 0.5372 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.3533, allocations: 405.2 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3533, allocations: 3.938 kB / 0.5376 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.3533, allocations: 7.781 kB / 0.5376 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3533, allocations: 1.125 kB / 0.5376 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.3533, allocations: 5.078 kB / 0.5376 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3533, allocations: 5.531 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3533, allocations: 1.156 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.3536, allocations: 203.6 kB / 0.5378 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.3537, allocations: 88.44 kB / 0.5379 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.3537, allocations: 6.312 kB / 0.5379 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.3538, allocations: 6.141 kB / 0.5379 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.3538, allocations: 7.469 kB / 0.5379 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.3538, allocations: 3.406 kB / 0.5379 GB, free: 7.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.354, allocations: 134.8 kB / 0.5381 GB, free: 7.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.354, allocations: 0 / 0.5381 GB, free: 7.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.3543, allocations: 42.94 kB / 0.5381 GB, free: 7.023 MB / 398.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.002352/0.3567, allocations: 1.187 MB / 0.5393 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.3569, allocations: 53.7 kB / 0.5393 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3569, allocations: 1.938 kB / 0.5393 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.357, allocations: 31.8 kB / 0.5393 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.3573, allocations: 36.2 kB / 0.5394 GB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.3592, allocations: 1.592 MB / 0.5409 GB, free: 4.637 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.3596, allocations: 0.7031 MB / 0.5416 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.603e-05/0.3596, allocations: 23.97 kB / 0.5416 GB, free: 3.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.3597, allocations: 37.62 kB / 0.5417 GB, free: 3.883 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3597, allocations: 3.938 kB / 0.5417 GB, free: 3.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.3879, allocations: 4.004 MB / 0.5456 GB, free: 1.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.494, allocations: 22.72 kB / 0.5456 GB, free: 1.645 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches