Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001846/0.001846, allocations: 117.7 kB / 17.78 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.001312/0.001312, allocations: 211.8 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.448/1.448, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2692/0.2692, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002539/0.002539, allocations: 79.86 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3349, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00386/0.3388, allocations: 1.946 MB / 0.5326 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.3407, allocations: 1.051 MB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.791e-05/0.3408, allocations: 1.375 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.3412, allocations: 49.27 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.3415, allocations: 99.03 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.3418, allocations: 97.64 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.342, allocations: 149.3 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3422, allocations: 17.94 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.883e-05/0.3423, allocations: 64.31 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.449e-05/0.3424, allocations: 57.41 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.3424, allocations: 6.875 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.3425, allocations: 51.59 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.3426, allocations: 22.8 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.941e-05/0.3427, allocations: 50.61 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.343, allocations: 152.5 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.343, allocations: 1.375 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.343, allocations: 0 / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.343, allocations: 3.938 kB / 0.5344 GB, free: 10.47 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.0007267/0.3437, allocations: 496.9 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3438, allocations: 9.875 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.3438, allocations: 37.03 kB / 0.5349 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.3439, allocations: 15.84 kB / 0.5349 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.3443, allocations: 236.8 kB / 0.5351 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.3443, allocations: 6.75 kB / 0.5352 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.3443, allocations: 17.44 kB / 0.5352 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.3446, allocations: 105.6 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3446, allocations: 1.344 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.3446, allocations: 5.391 kB / 0.5353 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3446, allocations: 1.219 kB / 0.5353 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.3448, allocations: 50.75 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.3454, allocations: 0.5072 MB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.3458, allocations: 83.88 kB / 0.5359 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.696e-05/0.3459, allocations: 36.06 kB / 0.5359 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.3459, allocations: 5.219 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.3461, allocations: 85.81 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3461, allocations: 0 / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004217/0.3466, allocations: 146.9 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.3466, allocations: 56.95 kB / 0.5362 GB, free: 8.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.3469, allocations: 207.6 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3469, allocations: 26.73 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.347, allocations: 118.9 kB / 0.5366 GB, free: 8.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.347, allocations: 35.84 kB / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.3471, allocations: 27.34 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3472, allocations: 329.6 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.961e-05/0.3473, allocations: 24.48 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.3475, allocations: 72.89 kB / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.3477, allocations: 97.25 kB / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3477, allocations: 4 kB / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002821/0.348, allocations: 138.7 kB / 0.5372 GB, free: 7.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.348, allocations: 5.625 kB / 0.5373 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.348, allocations: 1.312 kB / 0.5373 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.348, allocations: 5.031 kB / 0.5373 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3481, allocations: 22.52 kB / 0.5373 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3482, allocations: 5.875 kB / 0.5373 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.83e-05/0.3482, allocations: 25.5 kB / 0.5373 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.3483, allocations: 4.344 kB / 0.5373 GB, free: 7.777 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.000117/0.3484, allocations: 124.9 kB / 0.5374 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.3484, allocations: 14.97 kB / 0.5374 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/0.3485, allocations: 18.08 kB / 0.5375 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3485, allocations: 5 kB / 0.5375 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3485, allocations: 4 kB / 0.5375 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3485, allocations: 1.156 kB / 0.5375 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.3487, allocations: 205.9 kB / 0.5377 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3487, allocations: 5.094 kB / 0.5377 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.623e-05/0.3488, allocations: 13.64 kB / 0.5377 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3488, allocations: 0 / 0.5377 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.3488, allocations: 5.125 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3489, allocations: 8.969 kB / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3489, allocations: 0 / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.3492, allocations: 185.5 kB / 0.5379 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/0.3493, allocations: 93.52 kB / 0.538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.3494, allocations: 1.375 kB / 0.538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.3494, allocations: 15.83 kB / 0.538 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.3495, allocations: 2.5 kB / 0.538 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3495, allocations: 3.125 kB / 0.538 GB, free: 7.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.3496, allocations: 146.5 kB / 0.5381 GB, free: 7.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3496, allocations: 3.938 kB / 0.5381 GB, free: 7.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.3499, allocations: 31.23 kB / 0.5382 GB, free: 7.012 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.002087/0.352, allocations: 1.016 MB / 0.5392 GB, free: 6.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.3523, allocations: 82.8 kB / 0.5392 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3523, allocations: 4.25 kB / 0.5392 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.3524, allocations: 35.08 kB / 0.5393 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.3527, allocations: 48.55 kB / 0.5393 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.3548, allocations: 1.754 MB / 0.541 GB, free: 4.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.3551, allocations: 0.7192 MB / 0.5417 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.627e-05/0.3552, allocations: 15.3 kB / 0.5417 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.3553, allocations: 44.98 kB / 0.5418 GB, free: 3.895 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3553, allocations: 0 / 0.5418 GB, free: 3.895 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02798/0.3833, allocations: 3.828 MB / 0.5455 GB, free: 1.871 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.545, allocations: 13.16 kB / 0.5455 GB, free: 1.859 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)