Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001798/0.001798, allocations: 117.7 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001949/0.001949, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 71.89 kB / 480.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.333, allocations: 62.43 MB / 0.5306 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003509/0.3365, allocations: 1.948 MB / 0.5325 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3384, allocations: 1.058 MB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.3385, allocations: 1.375 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.3389, allocations: 45.33 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.3392, allocations: 98.97 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.3395, allocations: 97.64 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.3397, allocations: 145.3 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3399, allocations: 31.2 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.34, allocations: 57.16 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.3401, allocations: 56.27 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.3401, allocations: 7.781 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.3402, allocations: 46.86 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.3403, allocations: 22.08 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.844e-05/0.3403, allocations: 60.03 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.3406, allocations: 147.5 kB / 0.5343 GB, free: 10.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3406, allocations: 0 / 0.5343 GB, free: 10.56 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3406, allocations: 7.922 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.3406, allocations: 1.375 kB / 0.5343 GB, free: 10.55 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.0006269/0.3413, allocations: 476.2 kB / 0.5348 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3413, allocations: 10.31 kB / 0.5348 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.3414, allocations: 37.12 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.3414, allocations: 20.36 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.3418, allocations: 243.1 kB / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.3418, allocations: 7.719 kB / 0.5351 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.3418, allocations: 8.406 kB / 0.5351 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.3422, allocations: 106.2 kB / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3422, allocations: 1.344 kB / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.3422, allocations: 1.25 kB / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3422, allocations: 5.094 kB / 0.5352 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.3424, allocations: 54.31 kB / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000837/0.3433, allocations: 0.4998 MB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.3437, allocations: 92.98 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3438, allocations: 42.89 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.3438, allocations: 1.062 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.3441, allocations: 89.92 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.3441, allocations: 4 kB / 0.5359 GB, free: 8.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004326/0.3445, allocations: 147.3 kB / 0.5361 GB, free: 8.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.3446, allocations: 52.78 kB / 0.5361 GB, free: 8.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.3448, allocations: 195.6 kB / 0.5363 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3448, allocations: 27.08 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/0.3449, allocations: 122.8 kB / 0.5365 GB, free: 8.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.345, allocations: 31.67 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.345, allocations: 33.95 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3452, allocations: 327 kB / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.012e-05/0.3453, allocations: 23.7 kB / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.3454, allocations: 64.77 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.3456, allocations: 97.78 kB / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3456, allocations: 3.984 kB / 0.537 GB, free: 7.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002928/0.3459, allocations: 138.5 kB / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3459, allocations: 9.625 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3459, allocations: 1.25 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.346, allocations: 9.953 kB / 0.5372 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3461, allocations: 18.16 kB / 0.5372 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3461, allocations: 2.156 kB / 0.5372 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.3462, allocations: 21.45 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3462, allocations: 4.031 kB / 0.5372 GB, free: 7.875 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.0001281/0.3463, allocations: 131.6 kB / 0.5373 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.3464, allocations: 13.8 kB / 0.5373 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.3464, allocations: 18.03 kB / 0.5374 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3464, allocations: 5.25 kB / 0.5374 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3465, allocations: 0 / 0.5374 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3465, allocations: 1.25 kB / 0.5374 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.3467, allocations: 218.3 kB / 0.5376 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3467, allocations: 0 / 0.5376 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.672e-05/0.3468, allocations: 9.406 kB / 0.5376 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3468, allocations: 0.8438 kB / 0.5376 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.3468, allocations: 5 kB / 0.5376 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3468, allocations: 4.938 kB / 0.5376 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3468, allocations: 4.906 kB / 0.5376 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.3472, allocations: 181 kB / 0.5378 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.3473, allocations: 88.39 kB / 0.5379 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.3473, allocations: 1.125 kB / 0.5379 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.3474, allocations: 12.48 kB / 0.5379 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.3474, allocations: 7.438 kB / 0.5379 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.3474, allocations: 10.33 kB / 0.5379 GB, free: 7.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.3476, allocations: 145.8 kB / 0.538 GB, free: 7.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3476, allocations: 5.062 kB / 0.538 GB, free: 7.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.3478, allocations: 26.56 kB / 0.5381 GB, free: 7.105 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.001413/0.3492, allocations: 1.016 MB / 0.539 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.3495, allocations: 83.55 kB / 0.5391 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3495, allocations: 0 / 0.5391 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3496, allocations: 31.14 kB / 0.5392 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.35, allocations: 53.12 kB / 0.5392 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.352, allocations: 1.759 MB / 0.5409 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.3523, allocations: 0.7163 MB / 0.5416 GB, free: 4.039 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.772e-05/0.3523, allocations: 19.62 kB / 0.5416 GB, free: 4.031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/0.3524, allocations: 44.52 kB / 0.5417 GB, free: 3.996 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3524, allocations: 4 kB / 0.5417 GB, free: 3.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.3736, allocations: 3.856 MB / 0.5455 GB, free: 1.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/8.026, allocations: 13.05 kB / 0.5455 GB, free: 1.926 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches