Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.001869, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2025/0.2025, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002618, allocations: 80.09 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3467, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003339/0.35, allocations: 1.625 MB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.3512, allocations: 0.5429 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.3513, allocations: 1.375 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.3516, allocations: 78.08 kB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004245/0.352, allocations: 98.16 kB / 0.534 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.3524, allocations: 121.4 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.3526, allocations: 89.03 kB / 0.5342 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.3527, allocations: 12.25 kB / 0.5342 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.234e-05/0.3528, allocations: 36.73 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.3529, allocations: 60.12 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.353, allocations: 2.688 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.3531, allocations: 45.23 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.3532, allocations: 20.61 kB / 0.5343 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.3532, allocations: 37.02 kB / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.3535, allocations: 106.7 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3535, allocations: 3.984 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3535, allocations: 0 / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3535, allocations: 0 / 0.5345 GB, free: 11.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005504/0.3541, allocations: 413.7 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3541, allocations: 9.25 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.3542, allocations: 10.81 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.3544, allocations: 199.9 kB / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.3544, allocations: 6.438 kB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.3545, allocations: 6.656 kB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.3546, allocations: 59.33 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3547, allocations: 3.906 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3547, allocations: 5.156 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3547, allocations: 0 / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.3548, allocations: 40.39 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.3553, allocations: 295.5 kB / 0.5355 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.3554, allocations: 48.33 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.3554, allocations: 16.77 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.3555, allocations: 1.156 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.286e-05/0.3555, allocations: 39.77 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.3555, allocations: 0 / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001034/0.3566, allocations: 242.1 kB / 0.5358 GB, free: 10.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.3566, allocations: 56.78 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.3569, allocations: 215.1 kB / 0.5361 GB, free: 10 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3569, allocations: 25.7 kB / 0.5361 GB, free: 9.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.357, allocations: 105.6 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.357, allocations: 35.73 kB / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.3571, allocations: 19.22 kB / 0.5362 GB, free: 9.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3572, allocations: 323 kB / 0.5366 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.3573, allocations: 36.03 kB / 0.5366 GB, free: 9.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.893e-05/0.3574, allocations: 28.95 kB / 0.5366 GB, free: 9.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.3576, allocations: 74.69 kB / 0.5367 GB, free: 9.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3576, allocations: 0 / 0.5367 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002335/0.3579, allocations: 104.6 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3579, allocations: 5.438 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/0.3579, allocations: 320 / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.358, allocations: 9.031 kB / 0.5368 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3581, allocations: 18.02 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3581, allocations: 0 / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.3581, allocations: 7.656 kB / 0.5368 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3582, allocations: 14.47 kB / 0.5368 GB, free: 9.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.987e-05/0.3583, allocations: 121 kB / 0.537 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.3583, allocations: 12.34 kB / 0.537 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.3586, allocations: 146.8 kB / 0.5371 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.788e-06/0.3587, allocations: 1.25 kB / 0.5371 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3587, allocations: 3.938 kB / 0.5371 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3587, allocations: 3.938 kB / 0.5371 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005861/0.3593, allocations: 412.2 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3593, allocations: 0 / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.846e-05/0.3594, allocations: 18.17 kB / 0.5375 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-06/0.3594, allocations: 8.969 kB / 0.5375 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.3594, allocations: 2.25 kB / 0.5375 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3594, allocations: 3.938 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3595, allocations: 1.031 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.3598, allocations: 220.6 kB / 0.5378 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.3598, allocations: 96.36 kB / 0.5378 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.3598, allocations: 1.219 kB / 0.5378 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.931e-05/0.3599, allocations: 7.297 kB / 0.5379 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.36, allocations: 3.438 kB / 0.5379 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.36, allocations: 2.219 kB / 0.5379 GB, free: 8.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.3602, allocations: 171.8 kB / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3602, allocations: 0 / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.3605, allocations: 27.23 kB / 0.538 GB, free: 8.27 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.00108/0.3616, allocations: 455.4 kB / 0.5385 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.3618, allocations: 75.3 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3618, allocations: 4 kB / 0.5386 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.362, allocations: 44.12 kB / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.3623, allocations: 19.66 kB / 0.5386 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.3629, allocations: 297.8 kB / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.3633, allocations: 0.7157 MB / 0.5396 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.3633, allocations: 13.91 kB / 0.5396 GB, free: 7.016 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3633, allocations: 0 / 0.5396 GB, free: 7.016 MB / 398.1 MB Notification: Performance of Templates: time 0.004242/0.3676, allocations: 1.822 MB / 0.5414 GB, free: 6.074 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches