Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 121.8 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.001412/0.001412, 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.479/1.479, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2341/0.2341, allocations: 46.12 MB / 344.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 79.88 kB / 481 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3407, allocations: 62.45 MB / 0.5307 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.00326/0.344, allocations: 1.735 MB / 0.5324 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3457, allocations: 1.022 MB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.517e-05/0.3458, allocations: 1.094 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.3462, allocations: 43.2 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.3465, allocations: 91.42 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.3467, allocations: 86.88 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.3469, allocations: 92.92 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.564e-05/0.347, allocations: 18.78 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.408e-05/0.3471, allocations: 40.67 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.526e-05/0.3472, allocations: 36.78 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.3472, allocations: 8.219 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3473, allocations: 48.12 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.3474, allocations: 14.25 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.3475, allocations: 40.03 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.3477, allocations: 121.3 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3477, allocations: 1.375 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3477, allocations: 0 / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3477, allocations: 0 / 0.534 GB, free: 10.77 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.0005658/0.3483, allocations: 436.7 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3483, allocations: 9.625 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.3484, allocations: 36.12 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.3484, allocations: 9.016 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.3487, allocations: 217.3 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3487, allocations: 1.75 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.3488, allocations: 10.67 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3489, allocations: 54.05 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3489, allocations: 0 / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3489, allocations: 1.375 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.349, allocations: 0 / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.349, allocations: 26.92 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.3494, allocations: 282.9 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.3496, allocations: 53.94 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/0.3496, allocations: 21.09 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.3497, allocations: 5.375 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.3498, allocations: 69.08 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.3499, allocations: 0 / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005271/0.3504, allocations: 182.3 kB / 0.5354 GB, free: 9.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.3504, allocations: 52.78 kB / 0.5354 GB, free: 9.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.3506, allocations: 196 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.3507, allocations: 31.08 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/0.3507, allocations: 105.6 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.3508, allocations: 27.91 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.3508, allocations: 20.59 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.351, allocations: 325.6 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.609e-05/0.351, allocations: 18.98 kB / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.3511, allocations: 35.14 kB / 0.5361 GB, free: 8.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.3512, allocations: 63.59 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.3513, allocations: 384 / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001933/0.3515, allocations: 115.4 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3515, allocations: 5.938 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3515, allocations: 1.531 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3515, allocations: 4 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.586e-05/0.3516, allocations: 17.36 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3516, allocations: 1.031 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.016e-05/0.3517, allocations: 9.969 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.3517, allocations: 7.062 kB / 0.5364 GB, free: 8.547 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.0001077/0.3518, allocations: 118.5 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.3519, allocations: 17.95 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.3519, allocations: 18.81 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3519, allocations: 1.25 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3519, allocations: 0 / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3519, allocations: 3.938 kB / 0.5365 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.3524, allocations: 395.1 kB / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3524, allocations: 0 / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.3525, allocations: 12.09 kB / 0.5369 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3525, allocations: 5.062 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3525, allocations: 1.156 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3525, allocations: 1.312 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3525, allocations: 1.031 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.3528, allocations: 211.9 kB / 0.5371 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.3529, allocations: 92.31 kB / 0.5372 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.3529, allocations: 6.281 kB / 0.5372 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.353, allocations: 2.281 kB / 0.5372 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.353, allocations: 11.3 kB / 0.5372 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.353, allocations: 3.469 kB / 0.5372 GB, free: 7.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.3532, allocations: 151.6 kB / 0.5374 GB, free: 7.594 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3532, allocations: 1.188 kB / 0.5374 GB, free: 7.594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.3535, allocations: 27.91 kB / 0.5374 GB, free: 7.582 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.002483/0.356, allocations: 1.085 MB / 0.5385 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.3563, allocations: 62.06 kB / 0.5385 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3563, allocations: 0 / 0.5385 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.891e-05/0.3564, allocations: 30.36 kB / 0.5385 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.3568, allocations: 32.38 kB / 0.5386 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.3588, allocations: 1.648 MB / 0.5402 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.3592, allocations: 0.7101 MB / 0.5409 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.691e-05/0.3592, allocations: 18.31 kB / 0.5409 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/0.3593, allocations: 43.56 kB / 0.5409 GB, free: 4.48 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3593, allocations: 3.938 kB / 0.5409 GB, free: 4.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.3839, allocations: 3.443 MB / 0.5443 GB, free: 2.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.932/8.316, allocations: 9.516 kB / 0.5443 GB, free: 2.617 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches