Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001149, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 206 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2088/0.2088, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 75.88 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3458, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002789/0.3487, allocations: 1.593 MB / 0.5332 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009289/0.3496, allocations: 0.5429 MB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.3497, allocations: 5.375 kB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.3499, allocations: 30.7 kB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.3501, allocations: 81.47 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.3505, allocations: 113.5 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.3507, allocations: 65.97 kB / 0.534 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.3508, allocations: 12.16 kB / 0.5341 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.646e-05/0.3508, allocations: 27.27 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.3509, allocations: 23.67 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3509, allocations: 2.406 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-05/0.351, allocations: 36.42 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.351, allocations: 17.17 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.3511, allocations: 20.84 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.3513, allocations: 90.48 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3513, allocations: 0 / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3513, allocations: 7.938 kB / 0.5343 GB, free: 11.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.3513, allocations: 1.312 kB / 0.5343 GB, free: 11.58 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000436/0.3518, allocations: 387.6 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.3518, allocations: 10 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.3518, allocations: 8.188 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.352, allocations: 198.3 kB / 0.5348 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.352, allocations: 1.469 kB / 0.5348 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.352, allocations: 5.031 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.3522, allocations: 53.03 kB / 0.5349 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3522, allocations: 0 / 0.5349 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.3522, allocations: 1.344 kB / 0.5349 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3523, allocations: 0 / 0.5349 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.3524, allocations: 30.28 kB / 0.5349 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.3527, allocations: 285.8 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.3529, allocations: 47.94 kB / 0.5353 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.353, allocations: 16.88 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.353, allocations: 0 / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.3531, allocations: 39.59 kB / 0.5353 GB, free: 10.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.3531, allocations: 0 / 0.5353 GB, free: 10.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006148/0.3537, allocations: 152.2 kB / 0.5354 GB, free: 10.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.3537, allocations: 59.28 kB / 0.5355 GB, free: 10.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.3539, allocations: 178.8 kB / 0.5357 GB, free: 10.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.3539, allocations: 31.08 kB / 0.5357 GB, free: 10.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.354, allocations: 99.62 kB / 0.5358 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.354, allocations: 14.66 kB / 0.5358 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.354, allocations: 21.47 kB / 0.5358 GB, free: 10.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3542, allocations: 321.4 kB / 0.5361 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.3543, allocations: 24.36 kB / 0.5362 GB, free: 9.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.377e-05/0.3543, allocations: 24.34 kB / 0.5362 GB, free: 9.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.3545, allocations: 55.14 kB / 0.5362 GB, free: 9.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3545, allocations: 1.375 kB / 0.5362 GB, free: 9.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001774/0.3547, allocations: 82.56 kB / 0.5363 GB, free: 9.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3547, allocations: 5.5 kB / 0.5363 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3547, allocations: 9.312 kB / 0.5363 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.3547, allocations: 0 / 0.5363 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.164e-05/0.3548, allocations: 9.625 kB / 0.5363 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3548, allocations: 5.359 kB / 0.5364 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.3549, allocations: 14.62 kB / 0.5364 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.3549, allocations: 1.375 kB / 0.5364 GB, free: 9.566 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 (5): * Single equations (assignments): 5 * 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 7.791e-05/0.355, allocations: 120.7 kB / 0.5365 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.355, allocations: 8.031 kB / 0.5365 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.3553, allocations: 101.7 kB / 0.5366 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3553, allocations: 1.656 kB / 0.5366 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3553, allocations: 3.938 kB / 0.5366 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3553, allocations: 11.91 kB / 0.5366 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.3557, allocations: 350.2 kB / 0.5369 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3558, allocations: 0 / 0.5369 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.3558, allocations: 10.06 kB / 0.5369 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3558, allocations: 7.984 kB / 0.537 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.3558, allocations: 9.25 kB / 0.537 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3559, allocations: 0 / 0.537 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3559, allocations: 1.438 kB / 0.537 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.3562, allocations: 190.1 kB / 0.5371 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.3562, allocations: 83.23 kB / 0.5372 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.3562, allocations: 9 kB / 0.5372 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.3563, allocations: 3.031 kB / 0.5372 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.3563, allocations: 10.36 kB / 0.5372 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3563, allocations: 0.9062 kB / 0.5372 GB, free: 8.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.816e-05/0.3565, allocations: 129.9 kB / 0.5374 GB, free: 8.617 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3565, allocations: 0 / 0.5374 GB, free: 8.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.3567, allocations: 19.12 kB / 0.5374 GB, free: 8.609 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0009131/0.3576, allocations: 400.4 kB / 0.5378 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.3579, allocations: 63.48 kB / 0.5378 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3579, allocations: 0 / 0.5378 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.358, allocations: 24.3 kB / 0.5379 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.3583, allocations: 16.08 kB / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.3588, allocations: 225.3 kB / 0.5381 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.359, allocations: 0.7011 MB / 0.5388 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.3591, allocations: 17.12 kB / 0.5388 GB, free: 7.438 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3591, allocations: 0 / 0.5388 GB, free: 7.438 MB / 398.1 MB Notification: Performance of Templates: time 0.003327/0.3624, allocations: 1.504 MB / 0.5403 GB, free: 6.66 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches