Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008521/0.0008524, allocations: 201.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.193/1.193, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007701/0.0007702, allocations: 105.2 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.284/0.284, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000241/0.000241, allocations: 8 kB / 470.8 MB, free: 7.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2811, allocations: 63.1 MB / 0.5214 GB, free: 38.45 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.001516/0.2827, allocations: 1.296 MB / 0.5226 GB, free: 37.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008228/0.2835, allocations: 0.7297 MB / 0.5233 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.2836, allocations: 2.719 kB / 0.5233 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.2838, allocations: 19.52 kB / 0.5234 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.284, allocations: 65.8 kB / 0.5234 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.2842, allocations: 101.3 kB / 0.5235 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.2844, allocations: 60.27 kB / 0.5236 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.318e-05/0.2845, allocations: 16.2 kB / 0.5236 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.2845, allocations: 17.94 kB / 0.5236 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.2846, allocations: 28.75 kB / 0.5236 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.2846, allocations: 6.812 kB / 0.5236 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.356e-05/0.2846, allocations: 30.2 kB / 0.5237 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.2847, allocations: 10.27 kB / 0.5237 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.2847, allocations: 44.45 kB / 0.5237 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.2849, allocations: 75 kB / 0.5238 GB, free: 36.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2849, allocations: 0 / 0.5238 GB, free: 36.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2849, allocations: 0 / 0.5238 GB, free: 36.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.2849, allocations: 0 / 0.5238 GB, free: 36.64 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.0003509/0.2853, allocations: 379.2 kB / 0.5242 GB, free: 36.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2853, allocations: 9.188 kB / 0.5242 GB, free: 36.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.2853, allocations: 11.91 kB / 0.5242 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.2855, allocations: 194.3 kB / 0.5244 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2855, allocations: 4.375 kB / 0.5244 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.2855, allocations: 6.938 kB / 0.5244 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.2857, allocations: 50.09 kB / 0.5244 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2857, allocations: 0 / 0.5244 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.2857, allocations: 4 kB / 0.5244 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2857, allocations: 0 / 0.5244 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.481e-05/0.2858, allocations: 30.52 kB / 0.5245 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.2861, allocations: 284.2 kB / 0.5247 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.2862, allocations: 51.8 kB / 0.5248 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.2863, allocations: 20.33 kB / 0.5248 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.2863, allocations: 0 / 0.5248 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.082e-05/0.2863, allocations: 30.56 kB / 0.5248 GB, free: 35.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.2864, allocations: 0 / 0.5248 GB, free: 35.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004607/0.2868, allocations: 172.2 kB / 0.525 GB, free: 35.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.95e-05/0.2868, allocations: 51.41 kB / 0.525 GB, free: 35.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.2869, allocations: 153.1 kB / 0.5252 GB, free: 35.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.287, allocations: 29.7 kB / 0.5252 GB, free: 35.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.287, allocations: 91.02 kB / 0.5253 GB, free: 35.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.287, allocations: 18.11 kB / 0.5253 GB, free: 35.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.287, allocations: 0 / 0.5253 GB, free: 35.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.062e-05/0.2871, allocations: 324.9 kB / 0.5256 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.2871, allocations: 25.86 kB / 0.5257 GB, free: 34.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.453e-05/0.2872, allocations: 29.38 kB / 0.5257 GB, free: 34.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.2873, allocations: 58.14 kB / 0.5257 GB, free: 34.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.2873, allocations: 0 / 0.5257 GB, free: 34.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000179/0.2875, allocations: 95.56 kB / 0.5258 GB, free: 34.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.2875, allocations: 6.281 kB / 0.5258 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2875, allocations: 0 / 0.5258 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2876, allocations: 3.141 kB / 0.5258 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.2876, allocations: 15.62 kB / 0.5259 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2876, allocations: 7.875 kB / 0.5259 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.677e-05/0.2877, allocations: 13.09 kB / 0.5259 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2877, allocations: 2.781 kB / 0.5259 GB, free: 34.8 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.545e-05/0.2878, allocations: 116.6 kB / 0.526 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.2878, allocations: 13.56 kB / 0.526 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.288, allocations: 106 kB / 0.5261 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.288, allocations: 64 / 0.5261 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.288, allocations: 4 kB / 0.5261 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.288, allocations: 0 / 0.5261 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.2884, allocations: 363.5 kB / 0.5265 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2884, allocations: 3.375 kB / 0.5265 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.2884, allocations: 19.56 kB / 0.5265 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2884, allocations: 0 / 0.5265 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.2885, allocations: 2.875 kB / 0.5265 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2885, allocations: 3.938 kB / 0.5265 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2885, allocations: 3.047 kB / 0.5265 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.2886, allocations: 192.7 kB / 0.5267 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.2887, allocations: 84.95 kB / 0.5267 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.2887, allocations: 6.875 kB / 0.5268 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.223e-05/0.2888, allocations: 6.875 kB / 0.5268 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.2888, allocations: 10.59 kB / 0.5268 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.2888, allocations: 2.781 kB / 0.5268 GB, free: 34.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.868e-05/0.2889, allocations: 118.8 kB / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2889, allocations: 4 kB / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.2891, allocations: 8.594 kB / 0.5269 GB, free: 33.93 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.0007599/0.2899, allocations: 465.8 kB / 0.5273 GB, free: 33.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.29, allocations: 55.84 kB / 0.5274 GB, free: 33.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2901, allocations: 4 kB / 0.5274 GB, free: 33.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.952e-05/0.2901, allocations: 34.8 kB / 0.5274 GB, free: 33.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.2904, allocations: 15.86 kB / 0.5274 GB, free: 33.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.2907, allocations: 196.8 kB / 0.5276 GB, free: 33.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.2908, allocations: 0.6932 MB / 0.5283 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.734e-05/0.2909, allocations: 15.52 kB / 0.5283 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.2909, allocations: 13.19 kB / 0.5283 GB, free: 32.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2909, allocations: 0 / 0.5283 GB, free: 32.75 MB / 378.7 MB Notification: Performance of Templates: time 0.002809/0.2937, allocations: 1.062 MB / 0.5294 GB, free: 32.62 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches