Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001513/0.001513, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001718, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 79.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4115, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003728/0.4153, allocations: 1.602 MB / 0.5332 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.4175, allocations: 1.163 MB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.399e-05/0.4176, allocations: 1.781 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.4179, allocations: 32.44 kB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.4182, allocations: 76.78 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.4186, allocations: 114.2 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.4187, allocations: 70.44 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.4189, allocations: 11.28 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.42e-05/0.419, allocations: 26.2 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.4191, allocations: 39.3 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.4192, allocations: 7.844 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.4194, allocations: 95.53 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.4194, allocations: 14.67 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.936e-05/0.4195, allocations: 21.38 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.4198, allocations: 142.5 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4198, allocations: 5.312 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4198, allocations: 0 / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.4198, allocations: 0 / 0.535 GB, free: 11.06 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.0006185/0.4204, allocations: 399.7 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4205, allocations: 9.625 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.4205, allocations: 15.58 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.4208, allocations: 191.7 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.4208, allocations: 1.75 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.4209, allocations: 1.75 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.421, allocations: 69.22 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4211, allocations: 0 / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.4211, allocations: 0 / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.4211, allocations: 1.375 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.4212, allocations: 29.72 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.4217, allocations: 292.2 kB / 0.536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.4219, allocations: 44.38 kB / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.422, allocations: 19.81 kB / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.422, allocations: 5.375 kB / 0.536 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.4221, allocations: 31.94 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4221, allocations: 0 / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006355/0.4227, allocations: 149.9 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.4228, allocations: 78.48 kB / 0.5363 GB, free: 9.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.423, allocations: 144.1 kB / 0.5364 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.423, allocations: 31.14 kB / 0.5364 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.4231, allocations: 94.38 kB / 0.5365 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.4231, allocations: 18.19 kB / 0.5366 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.4232, allocations: 18.31 kB / 0.5366 GB, free: 9.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4233, allocations: 325 kB / 0.5369 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.4234, allocations: 20.2 kB / 0.5369 GB, free: 9.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.838e-05/0.4235, allocations: 43.97 kB / 0.5369 GB, free: 9.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.4236, allocations: 51.67 kB / 0.537 GB, free: 9.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4237, allocations: 0 / 0.537 GB, free: 9.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002052/0.4239, allocations: 86.94 kB / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4239, allocations: 5.938 kB / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4239, allocations: 0 / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4239, allocations: 1.312 kB / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.802e-05/0.424, allocations: 17.92 kB / 0.5371 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.567e-05/0.424, allocations: 0 / 0.5371 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.4241, allocations: 7.594 kB / 0.5371 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.4241, allocations: 5.219 kB / 0.5371 GB, free: 8.996 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 0.0001111/0.4242, allocations: 114.2 kB / 0.5372 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.4243, allocations: 3.75 kB / 0.5372 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.4246, allocations: 104.1 kB / 0.5373 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4246, allocations: 4.281 kB / 0.5373 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.4246, allocations: 0.875 kB / 0.5373 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4246, allocations: 3.938 kB / 0.5373 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.4251, allocations: 359.9 kB / 0.5377 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.4251, allocations: 3.984 kB / 0.5377 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.4252, allocations: 18.2 kB / 0.5377 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4252, allocations: 5.031 kB / 0.5377 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.4252, allocations: 0 / 0.5377 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.4252, allocations: 13.12 kB / 0.5377 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4252, allocations: 0 / 0.5377 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.4255, allocations: 182.8 kB / 0.5379 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/0.4255, allocations: 79.27 kB / 0.538 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.4256, allocations: 1.156 kB / 0.538 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.4256, allocations: 11.27 kB / 0.538 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.4257, allocations: 6.219 kB / 0.538 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.4257, allocations: 1.156 kB / 0.538 GB, free: 8.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.4258, allocations: 114.4 kB / 0.5381 GB, free: 8.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4258, allocations: 0 / 0.5381 GB, free: 8.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003285/0.4262, allocations: 44.23 kB / 0.5381 GB, free: 8.027 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.001346/0.4275, allocations: 0.4904 MB / 0.5386 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.4278, allocations: 53.98 kB / 0.5387 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.4278, allocations: 5.219 kB / 0.5387 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.023e-05/0.4279, allocations: 24.17 kB / 0.5387 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.4283, allocations: 30.84 kB / 0.5387 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.4288, allocations: 195.5 kB / 0.5389 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.4292, allocations: 0.6908 MB / 0.5396 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.4292, allocations: 26.95 kB / 0.5396 GB, free: 6.82 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4292, allocations: 0 / 0.5396 GB, free: 6.82 MB / 398.1 MB Notification: Performance of Templates: time 0.004298/0.4335, allocations: 1.961 MB / 0.5415 GB, free: 5.809 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches