Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001274, allocations: 205.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3409, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003047/0.344, allocations: 1.699 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3456, allocations: 0.9923 MB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.52e-05/0.3457, allocations: 7.938 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.3461, allocations: 63.97 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.3464, allocations: 107.1 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.3467, allocations: 71.3 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.3469, allocations: 106.2 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.3469, allocations: 9.719 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.347, allocations: 51.02 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3472, allocations: 48.45 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.3472, allocations: 2.75 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.898e-05/0.3473, allocations: 32.61 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.3473, allocations: 14.81 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.3474, allocations: 35.98 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.3476, allocations: 107 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3476, allocations: 0 / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3476, allocations: 1.375 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3476, allocations: 0 / 0.5338 GB, free: 10.9 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005411/0.3482, allocations: 410.3 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3482, allocations: 13.62 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.3483, allocations: 32.12 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.3483, allocations: 8.969 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.3486, allocations: 217.3 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.3486, allocations: 1.75 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.3486, allocations: 5.312 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.3488, allocations: 51.23 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3488, allocations: 0 / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3488, allocations: 1.375 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3488, allocations: 4 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.151e-05/0.3489, allocations: 16.23 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.3491, allocations: 183.3 kB / 0.5347 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3493, allocations: 59.11 kB / 0.5348 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.3494, allocations: 17.11 kB / 0.5348 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.3494, allocations: 15.86 kB / 0.5348 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.3496, allocations: 61.14 kB / 0.5349 GB, free: 9.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.3496, allocations: 0 / 0.5349 GB, free: 9.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002857/0.3499, allocations: 91.2 kB / 0.535 GB, free: 9.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.3499, allocations: 52.56 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.3501, allocations: 196.7 kB / 0.5352 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3502, allocations: 25.7 kB / 0.5352 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.3502, allocations: 110 kB / 0.5353 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.3503, allocations: 21.19 kB / 0.5354 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.3503, allocations: 19.19 kB / 0.5354 GB, free: 9.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3504, allocations: 322.7 kB / 0.5357 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.456e-05/0.3505, allocations: 15.58 kB / 0.5357 GB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.568e-05/0.3506, allocations: 31.33 kB / 0.5357 GB, free: 8.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.845e-05/0.3507, allocations: 48.06 kB / 0.5358 GB, free: 8.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3507, allocations: 3.938 kB / 0.5358 GB, free: 8.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001626/0.3508, allocations: 86.81 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3509, allocations: 5.906 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3509, allocations: 1.188 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3509, allocations: 3.938 kB / 0.5359 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.351, allocations: 9 kB / 0.5359 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.351, allocations: 1.125 kB / 0.5359 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.351, allocations: 2.344 kB / 0.5359 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3511, allocations: 6.188 kB / 0.5359 GB, free: 8.879 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 (7): * Single equations (assignments): 7 * 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.0001054/0.3512, allocations: 132.3 kB / 0.536 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.3512, allocations: 12.56 kB / 0.536 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.3512, allocations: 18.48 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3512, allocations: 0 / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3513, allocations: 1.062 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3513, allocations: 0 / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.3514, allocations: 188.9 kB / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3514, allocations: 1.219 kB / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.3515, allocations: 11.42 kB / 0.5362 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3515, allocations: 0 / 0.5362 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3515, allocations: 5.062 kB / 0.5362 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3515, allocations: 1.125 kB / 0.5362 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3515, allocations: 0 / 0.5362 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.3517, allocations: 109.4 kB / 0.5364 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.3517, allocations: 88.39 kB / 0.5364 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.3518, allocations: 9.156 kB / 0.5364 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.429e-05/0.3518, allocations: 5.125 kB / 0.5364 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.3518, allocations: 6.328 kB / 0.5365 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.3519, allocations: 2.375 kB / 0.5365 GB, free: 8.285 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.352, allocations: 152.1 kB / 0.5366 GB, free: 8.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.352, allocations: 0 / 0.5366 GB, free: 8.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.3522, allocations: 17.66 kB / 0.5366 GB, free: 8.172 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001269/0.3535, allocations: 0.9469 MB / 0.5375 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.3537, allocations: 39.3 kB / 0.5376 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3537, allocations: 0 / 0.5376 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.947e-05/0.3537, allocations: 20.36 kB / 0.5376 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.354, allocations: 29.25 kB / 0.5376 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.3556, allocations: 1.496 MB / 0.5391 GB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.3558, allocations: 0.7082 MB / 0.5398 GB, free: 5.352 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.599e-05/0.3559, allocations: 11.8 kB / 0.5398 GB, free: 5.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.3559, allocations: 29.48 kB / 0.5398 GB, free: 5.324 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3559, allocations: 0.8438 kB / 0.5398 GB, free: 5.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.3754, allocations: 3.187 MB / 0.5429 GB, free: 3.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.875, allocations: 5.234 kB / 0.5429 GB, free: 3.57 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time