Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001176/0.001176, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 198 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 71.89 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4184, allocations: 62.44 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003385/0.4219, allocations: 1.668 MB / 0.5326 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.4239, allocations: 1.169 MB / 0.5338 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.4239, allocations: 1.375 kB / 0.5338 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.4242, allocations: 19.97 kB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.4246, allocations: 85.75 kB / 0.5339 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.425, allocations: 141.4 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.4251, allocations: 72.64 kB / 0.5341 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.4253, allocations: 18.86 kB / 0.5341 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.4253, allocations: 34.84 kB / 0.5341 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.4255, allocations: 40.16 kB / 0.5342 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.4255, allocations: 4.125 kB / 0.5342 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.4257, allocations: 97.55 kB / 0.5343 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-05/0.4258, allocations: 21.42 kB / 0.5343 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.4258, allocations: 23.94 kB / 0.5343 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.4261, allocations: 152.4 kB / 0.5345 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4261, allocations: 0 / 0.5345 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4261, allocations: 0 / 0.5345 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4261, allocations: 1.156 kB / 0.5345 GB, free: 11.15 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005639/0.4267, allocations: 410 kB / 0.5349 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4267, allocations: 8.75 kB / 0.5349 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.4268, allocations: 9.781 kB / 0.5349 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.427, allocations: 200.3 kB / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.4271, allocations: 1.906 kB / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.4271, allocations: 2.844 kB / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.4273, allocations: 77.48 kB / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.4273, allocations: 0 / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4273, allocations: 4.844 kB / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4273, allocations: 0.9062 kB / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.4275, allocations: 36.12 kB / 0.5352 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.4279, allocations: 295.6 kB / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.428, allocations: 47.31 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.584e-05/0.4281, allocations: 23.81 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.4281, allocations: 5.125 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.4282, allocations: 31.75 kB / 0.5356 GB, free: 10 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.4282, allocations: 0 / 0.5356 GB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008794/0.4291, allocations: 215 kB / 0.5358 GB, free: 9.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.4291, allocations: 79.3 kB / 0.5358 GB, free: 9.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.4293, allocations: 144.7 kB / 0.536 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.4294, allocations: 29.7 kB / 0.536 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.4294, allocations: 91.53 kB / 0.5361 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.4295, allocations: 27.19 kB / 0.5361 GB, free: 9.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.4295, allocations: 27.39 kB / 0.5362 GB, free: 9.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4297, allocations: 317 kB / 0.5365 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.4298, allocations: 30.41 kB / 0.5365 GB, free: 9.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.43, allocations: 47.38 kB / 0.5365 GB, free: 9.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.4302, allocations: 80.14 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4302, allocations: 0 / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003138/0.4306, allocations: 115.3 kB / 0.5367 GB, free: 9.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.4306, allocations: 5.125 kB / 0.5367 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.4306, allocations: 0 / 0.5367 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.4306, allocations: 5.281 kB / 0.5367 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.4308, allocations: 22.2 kB / 0.5367 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.4308, allocations: 1.094 kB / 0.5367 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.4309, allocations: 17.58 kB / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.4309, allocations: 6.344 kB / 0.5368 GB, free: 8.984 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 (7): * Single equations (assignments): 7 * 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.0001206/0.431, allocations: 114.7 kB / 0.5369 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.4311, allocations: 7.531 kB / 0.5369 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.4315, allocations: 127.4 kB / 0.537 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4315, allocations: 5.281 kB / 0.537 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4315, allocations: 4 kB / 0.537 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.4316, allocations: 5.438 kB / 0.537 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006317/0.4322, allocations: 399.2 kB / 0.5374 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4322, allocations: 0 / 0.5374 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.915e-05/0.4323, allocations: 18.48 kB / 0.5374 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4323, allocations: 0.8125 kB / 0.5374 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.4323, allocations: 8.891 kB / 0.5374 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4323, allocations: 1.531 kB / 0.5374 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.4324, allocations: 3.938 kB / 0.5374 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.4327, allocations: 213.9 kB / 0.5376 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.4328, allocations: 83.45 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.4328, allocations: 4.781 kB / 0.5377 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/0.4329, allocations: 10.55 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.433, allocations: 6.203 kB / 0.5377 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.433, allocations: 2.156 kB / 0.5377 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.4331, allocations: 115.4 kB / 0.5379 GB, free: 7.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4331, allocations: 5.188 kB / 0.5379 GB, free: 7.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.4335, allocations: 45.36 kB / 0.5379 GB, free: 7.965 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 (7): * Single equations (assignments): 7 * 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.001228/0.4347, allocations: 490.6 kB / 0.5384 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003348/0.4351, allocations: 78.69 kB / 0.5384 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4351, allocations: 0 / 0.5384 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.4352, allocations: 45.56 kB / 0.5385 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.4356, allocations: 19.02 kB / 0.5385 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/0.4362, allocations: 206.2 kB / 0.5387 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.4366, allocations: 0.6922 MB / 0.5394 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.073e-05/0.4367, allocations: 19.81 kB / 0.5394 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.4367, allocations: 15.66 kB / 0.5394 GB, free: 6.766 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4367, allocations: 0 / 0.5394 GB, free: 6.766 MB / 398.1 MB Notification: Performance of Templates: time 0.005546/0.4423, allocations: 1.918 MB / 0.5413 GB, free: 5.758 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches