Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001631/0.001631, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002088/0.002088, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, 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.23/0.23, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 79.88 kB / 481 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3355, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003506/0.339, allocations: 1.942 MB / 0.5326 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.3408, allocations: 1.054 MB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.3409, allocations: 9.438 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.3413, allocations: 41.94 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.3416, allocations: 98.25 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.3419, allocations: 94.95 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.3421, allocations: 152 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3423, allocations: 30.98 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3424, allocations: 56.02 kB / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.625e-05/0.3425, allocations: 49.34 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.3425, allocations: 6.812 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.3426, allocations: 52.28 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.3427, allocations: 21.42 kB / 0.5342 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.3428, allocations: 59.97 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.3431, allocations: 152.5 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3431, allocations: 0 / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3431, allocations: 9.312 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.3431, allocations: 0 / 0.5344 GB, free: 10.45 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007024/0.3438, allocations: 492.1 kB / 0.5349 GB, free: 9.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3439, allocations: 9.625 kB / 0.5349 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.3439, allocations: 37.5 kB / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.344, allocations: 17.09 kB / 0.5349 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.3443, allocations: 239.6 kB / 0.5352 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3443, allocations: 7.125 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.3444, allocations: 17.42 kB / 0.5352 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.3446, allocations: 97.11 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3446, allocations: 1.375 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.3447, allocations: 13.3 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3447, allocations: 1.375 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.3448, allocations: 46.09 kB / 0.5353 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.3454, allocations: 0.4997 MB / 0.5358 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.3458, allocations: 89.16 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.853e-05/0.3459, allocations: 38.72 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3459, allocations: 1.375 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.3461, allocations: 81.19 kB / 0.536 GB, free: 8.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3462, allocations: 1.031 kB / 0.536 GB, free: 8.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004008/0.3466, allocations: 150.7 kB / 0.5362 GB, free: 8.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.3466, allocations: 56.83 kB / 0.5362 GB, free: 8.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.3468, allocations: 203.7 kB / 0.5364 GB, free: 8.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.3468, allocations: 26.95 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.3469, allocations: 118.4 kB / 0.5366 GB, free: 8.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.347, allocations: 35.59 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.347, allocations: 26.78 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3472, allocations: 334.8 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-05/0.3473, allocations: 29.17 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.3474, allocations: 67.61 kB / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.3476, allocations: 101.5 kB / 0.5371 GB, free: 7.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3477, allocations: 0 / 0.5371 GB, free: 7.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002778/0.3479, allocations: 134.3 kB / 0.5373 GB, free: 7.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.348, allocations: 5 kB / 0.5373 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.348, allocations: 1.344 kB / 0.5373 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.348, allocations: 10.28 kB / 0.5373 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3481, allocations: 30.23 kB / 0.5373 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3481, allocations: 2.25 kB / 0.5373 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.75e-05/0.3482, allocations: 16.56 kB / 0.5373 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3482, allocations: 4.5 kB / 0.5373 GB, free: 7.766 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001316/0.3484, allocations: 122.9 kB / 0.5374 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.3484, allocations: 18.16 kB / 0.5375 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.3485, allocations: 22.55 kB / 0.5375 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3485, allocations: 5.75 kB / 0.5375 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3485, allocations: 4 kB / 0.5375 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3485, allocations: 0 / 0.5375 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.3487, allocations: 207.1 kB / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3487, allocations: 0 / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.902e-05/0.3488, allocations: 18.08 kB / 0.5377 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3488, allocations: 0 / 0.5377 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3489, allocations: 1.281 kB / 0.5377 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3489, allocations: 5.125 kB / 0.5377 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3489, allocations: 0 / 0.5377 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.3493, allocations: 193.1 kB / 0.5379 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.3494, allocations: 89.67 kB / 0.538 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.3494, allocations: 5.375 kB / 0.538 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.259e-05/0.3495, allocations: 11.36 kB / 0.538 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.3495, allocations: 3.969 kB / 0.538 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3495, allocations: 2.5 kB / 0.538 GB, free: 7.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.3497, allocations: 145.2 kB / 0.5381 GB, free: 7.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3497, allocations: 9 kB / 0.5382 GB, free: 7.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.3499, allocations: 31.23 kB / 0.5382 GB, free: 6.992 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002011/0.3519, allocations: 1.007 MB / 0.5392 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.3522, allocations: 86.67 kB / 0.5393 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3522, allocations: 1.094 kB / 0.5393 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3523, allocations: 33.83 kB / 0.5393 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.3526, allocations: 59.2 kB / 0.5393 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.3547, allocations: 1.752 MB / 0.5411 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.3551, allocations: 0.716 MB / 0.5418 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.057e-05/0.3552, allocations: 19.72 kB / 0.5418 GB, free: 3.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.3552, allocations: 48.7 kB / 0.5418 GB, free: 3.879 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3552, allocations: 0 / 0.5418 GB, free: 3.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.3814, allocations: 3.81 MB / 0.5455 GB, free: 1.852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.582, allocations: 14.3 kB / 0.5456 GB, free: 1.844 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches