Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 200.5 kB / 17.43 MB, free: 4.113 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006963/0.0006963, allocations: 94.23 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2763/0.2763, allocations: 45.01 MB / 397 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002154/0.0002154, allocations: 4 kB / 470.8 MB, free: 7.129 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2577, allocations: 63.09 MB / 0.5214 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.001551/0.2593, allocations: 1.295 MB / 0.5226 GB, free: 37.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008329/0.2602, allocations: 0.7442 MB / 0.5234 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.2602, allocations: 0 / 0.5234 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.2604, allocations: 16.58 kB / 0.5234 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.2607, allocations: 64.25 kB / 0.5234 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.261, allocations: 103.3 kB / 0.5235 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.2611, allocations: 60.47 kB / 0.5236 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.2612, allocations: 14.77 kB / 0.5236 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/0.2612, allocations: 19.52 kB / 0.5236 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.2613, allocations: 24.69 kB / 0.5236 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.2613, allocations: 3.984 kB / 0.5236 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.42e-05/0.2614, allocations: 26.69 kB / 0.5237 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.288e-05/0.2614, allocations: 8.547 kB / 0.5237 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.2615, allocations: 48.27 kB / 0.5237 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.2616, allocations: 75.27 kB / 0.5238 GB, free: 36.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2616, allocations: 4 kB / 0.5238 GB, free: 36.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2616, allocations: 0 / 0.5238 GB, free: 36.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.2616, allocations: 0 / 0.5238 GB, free: 36.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003355/0.262, allocations: 377.3 kB / 0.5242 GB, free: 36.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.262, allocations: 9 kB / 0.5242 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.2621, allocations: 7.688 kB / 0.5242 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.2622, allocations: 191.9 kB / 0.5244 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-06/0.2622, allocations: 4.375 kB / 0.5244 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.2622, allocations: 7.281 kB / 0.5244 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.2624, allocations: 62.19 kB / 0.5244 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2624, allocations: 0 / 0.5244 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.2624, allocations: 0 / 0.5244 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2624, allocations: 0 / 0.5244 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.528e-05/0.2625, allocations: 27.75 kB / 0.5245 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.2628, allocations: 288.7 kB / 0.5247 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.263, allocations: 41.38 kB / 0.5248 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.934e-05/0.2631, allocations: 27.16 kB / 0.5248 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.2631, allocations: 2.469 kB / 0.5248 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.2631, allocations: 30.56 kB / 0.5248 GB, free: 35.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2631, allocations: 0 / 0.5248 GB, free: 35.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005106/0.2636, allocations: 167.3 kB / 0.525 GB, free: 35.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.2637, allocations: 54.06 kB / 0.525 GB, free: 35.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2638, allocations: 150.8 kB / 0.5252 GB, free: 35.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.2638, allocations: 25.7 kB / 0.5252 GB, free: 35.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.2638, allocations: 97.98 kB / 0.5253 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.2638, allocations: 18.94 kB / 0.5253 GB, free: 35.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.2639, allocations: 4 kB / 0.5253 GB, free: 35.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.917e-05/0.2639, allocations: 324.8 kB / 0.5256 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.264, allocations: 28.7 kB / 0.5257 GB, free: 34.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.643e-05/0.2641, allocations: 23.2 kB / 0.5257 GB, free: 34.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.2642, allocations: 65.38 kB / 0.5257 GB, free: 34.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.2642, allocations: 0 / 0.5257 GB, free: 34.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001585/0.2644, allocations: 89.38 kB / 0.5258 GB, free: 34.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2644, allocations: 5.5 kB / 0.5258 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2644, allocations: 4 kB / 0.5258 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2644, allocations: 0 / 0.5258 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/0.2645, allocations: 22.91 kB / 0.5259 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2645, allocations: 0 / 0.5259 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.869e-05/0.2646, allocations: 9.438 kB / 0.5259 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.2646, allocations: 0 / 0.5259 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 (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 5.443e-05/0.2646, allocations: 123.7 kB / 0.526 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.2647, allocations: 10.84 kB / 0.526 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.2649, allocations: 105.7 kB / 0.5261 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2649, allocations: 0 / 0.5261 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2649, allocations: 0 / 0.5261 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2649, allocations: 0 / 0.5261 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.2652, allocations: 371.8 kB / 0.5265 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2653, allocations: 2.781 kB / 0.5265 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.985e-05/0.2653, allocations: 13.73 kB / 0.5265 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2653, allocations: 0 / 0.5265 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.2653, allocations: 0 / 0.5265 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2653, allocations: 10.94 kB / 0.5265 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2653, allocations: 0 / 0.5265 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.2655, allocations: 191.1 kB / 0.5267 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.2655, allocations: 87.75 kB / 0.5267 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.2656, allocations: 0 / 0.5267 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.219e-05/0.2656, allocations: 13 kB / 0.5268 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.2657, allocations: 6.328 kB / 0.5268 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.2657, allocations: 7.938 kB / 0.5268 GB, free: 33.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.796e-05/0.2658, allocations: 113 kB / 0.5269 GB, free: 33.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2658, allocations: 0 / 0.5269 GB, free: 33.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002114/0.266, allocations: 15.16 kB / 0.5269 GB, free: 33.77 MB / 378.7 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.0007814/0.2668, allocations: 470.4 kB / 0.5273 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.267, allocations: 56.39 kB / 0.5274 GB, free: 33.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.267, allocations: 7.938 kB / 0.5274 GB, free: 33.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.02e-05/0.267, allocations: 28.42 kB / 0.5274 GB, free: 33.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.2673, allocations: 18.64 kB / 0.5274 GB, free: 33.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.2677, allocations: 187.9 kB / 0.5276 GB, free: 33.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.2678, allocations: 0.6964 MB / 0.5283 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.507e-05/0.2678, allocations: 20.19 kB / 0.5283 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.2679, allocations: 16.66 kB / 0.5283 GB, free: 32.59 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2679, allocations: 0 / 0.5283 GB, free: 32.59 MB / 378.7 MB Notification: Performance of Templates: time 0.002942/0.2708, allocations: 1.065 MB / 0.5294 GB, free: 32.45 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches