Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009269/0.000927, allocations: 191.9 kB / 17.43 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 229.5 MB / 247.7 MB, free: 6.289 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000732/0.0007321, allocations: 95.59 kB / 299.9 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2842/0.2842, allocations: 45 MB / 397 MB, free: 31.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002392/0.0002392, allocations: 8 kB / 470.8 MB, free: 7.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2792, allocations: 63.09 MB / 0.5214 GB, free: 38.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.001662/0.2809, allocations: 1.312 MB / 0.5226 GB, free: 37.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008168/0.2818, allocations: 0.7403 MB / 0.5234 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.2819, allocations: 2.688 kB / 0.5234 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.2821, allocations: 85.92 kB / 0.5235 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.2823, allocations: 82.88 kB / 0.5235 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.2826, allocations: 97.2 kB / 0.5236 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.2828, allocations: 75.98 kB / 0.5237 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/0.2829, allocations: 19.23 kB / 0.5237 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.2829, allocations: 31.53 kB / 0.5237 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.283, allocations: 55.45 kB / 0.5238 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.283, allocations: 0 / 0.5238 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.693e-05/0.2831, allocations: 41.61 kB / 0.5238 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.2832, allocations: 19.98 kB / 0.5239 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.2832, allocations: 55.02 kB / 0.5239 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.2834, allocations: 99.98 kB / 0.524 GB, free: 36.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2834, allocations: 4 kB / 0.524 GB, free: 36.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2834, allocations: 2.906 kB / 0.524 GB, free: 36.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2834, allocations: 0 / 0.524 GB, free: 36.61 MB / 378.7 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.0003537/0.2838, allocations: 395.2 kB / 0.5244 GB, free: 36.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.2838, allocations: 8.781 kB / 0.5244 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.2838, allocations: 18.91 kB / 0.5244 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.284, allocations: 196.1 kB / 0.5246 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.284, allocations: 11.16 kB / 0.5246 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.284, allocations: 4.375 kB / 0.5246 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.2842, allocations: 63.02 kB / 0.5247 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2842, allocations: 2.75 kB / 0.5247 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.2842, allocations: 3 kB / 0.5247 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2842, allocations: 0 / 0.5247 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.878e-05/0.2843, allocations: 30.5 kB / 0.5247 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.2846, allocations: 306.8 kB / 0.525 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.671e-05/0.2847, allocations: 44.88 kB / 0.5251 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.2848, allocations: 24.8 kB / 0.5251 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.2848, allocations: 6.969 kB / 0.5251 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.2848, allocations: 33.8 kB / 0.5251 GB, free: 35.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.2848, allocations: 0 / 0.5251 GB, free: 35.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008156/0.2856, allocations: 263.2 kB / 0.5254 GB, free: 35.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.95e-05/0.2857, allocations: 58.19 kB / 0.5254 GB, free: 35.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.2858, allocations: 211.7 kB / 0.5256 GB, free: 35.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.2859, allocations: 29.7 kB / 0.5257 GB, free: 35.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.2859, allocations: 107.8 kB / 0.5258 GB, free: 35.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.2859, allocations: 23 kB / 0.5258 GB, free: 35.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.2859, allocations: 7.875 kB / 0.5258 GB, free: 35.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.408e-05/0.286, allocations: 327.2 kB / 0.5261 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.619e-05/0.2861, allocations: 32.59 kB / 0.5261 GB, free: 34.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.476e-05/0.2861, allocations: 36.42 kB / 0.5262 GB, free: 34.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.2863, allocations: 76.23 kB / 0.5262 GB, free: 34.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2863, allocations: 0 / 0.5262 GB, free: 34.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001912/0.2865, allocations: 132.2 kB / 0.5264 GB, free: 34.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2865, allocations: 2.875 kB / 0.5264 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.2865, allocations: 2.781 kB / 0.5264 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2866, allocations: 0 / 0.5264 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.963e-05/0.2866, allocations: 21.11 kB / 0.5264 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2867, allocations: 2.656 kB / 0.5264 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/0.2867, allocations: 16.42 kB / 0.5264 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.2867, allocations: 3.984 kB / 0.5264 GB, free: 34.64 MB / 378.7 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 6.319e-05/0.2868, allocations: 130.3 kB / 0.5265 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.2868, allocations: 9.219 kB / 0.5265 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.2871, allocations: 139.2 kB / 0.5267 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2871, allocations: 0 / 0.5267 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2871, allocations: 3.938 kB / 0.5267 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2871, allocations: 6.656 kB / 0.5267 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.2875, allocations: 432.6 kB / 0.5271 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2875, allocations: 2.688 kB / 0.5271 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.2876, allocations: 16.77 kB / 0.5271 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2876, allocations: 10.94 kB / 0.5271 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.2876, allocations: 0 / 0.5271 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2876, allocations: 2.562 kB / 0.5271 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2876, allocations: 0 / 0.5271 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.2878, allocations: 222.2 kB / 0.5273 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.2879, allocations: 91.73 kB / 0.5274 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.2879, allocations: 7.422 kB / 0.5274 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.288, allocations: 9.938 kB / 0.5274 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.288, allocations: 6.203 kB / 0.5274 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.288, allocations: 6.906 kB / 0.5275 GB, free: 33.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.677e-05/0.2881, allocations: 168.2 kB / 0.5276 GB, free: 33.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.162e-06/0.2881, allocations: 0 / 0.5276 GB, free: 33.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002178/0.2884, allocations: 26.25 kB / 0.5276 GB, free: 33.68 MB / 378.7 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.000921/0.2893, allocations: 0.5032 MB / 0.5281 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.2895, allocations: 82.81 kB / 0.5282 GB, free: 33.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2895, allocations: 4 kB / 0.5282 GB, free: 33.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.433e-05/0.2896, allocations: 43.72 kB / 0.5283 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.2899, allocations: 19.53 kB / 0.5283 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.2903, allocations: 309.1 kB / 0.5286 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.2904, allocations: 0.7107 MB / 0.5293 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.54e-05/0.2905, allocations: 23.42 kB / 0.5293 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.2905, allocations: 19.92 kB / 0.5293 GB, free: 32.4 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2905, allocations: 0 / 0.5293 GB, free: 32.4 MB / 378.7 MB Notification: Performance of Templates: time 0.003228/0.2938, allocations: 1.298 MB / 0.5306 GB, free: 32.25 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches