Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 117.1 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001854/0.001854, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2409/0.2409, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 76.09 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5074/0.5088, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003417/0.5122, allocations: 1.602 MB / 0.5326 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.5133, allocations: 0.5241 MB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.521e-05/0.5133, allocations: 5.312 kB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.5136, allocations: 25.34 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.5139, allocations: 76.38 kB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.5142, allocations: 91.25 kB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.5144, allocations: 60.59 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.5145, allocations: 18.84 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.209e-05/0.5146, allocations: 24.11 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.992e-05/0.5146, allocations: 18.75 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.5147, allocations: 2.75 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.088e-05/0.5147, allocations: 32.61 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.5148, allocations: 20.03 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.879e-05/0.5149, allocations: 31.88 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.5151, allocations: 77.11 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5151, allocations: 1.375 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5151, allocations: 3.938 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.5152, allocations: 0 / 0.5336 GB, free: 11.66 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.0006421/0.5158, allocations: 388.9 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.5159, allocations: 9.625 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.5159, allocations: 9.016 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.5162, allocations: 199.8 kB / 0.5341 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.5162, allocations: 5.688 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.5162, allocations: 5.719 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.5164, allocations: 56.17 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.5164, allocations: 3.984 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.5165, allocations: 1.469 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5165, allocations: 0 / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.5166, allocations: 21.05 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.5171, allocations: 280.9 kB / 0.5345 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.5173, allocations: 43.38 kB / 0.5345 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.5174, allocations: 18.12 kB / 0.5345 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.5174, allocations: 1.75 kB / 0.5346 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.5175, allocations: 30.56 kB / 0.5346 GB, free: 10.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5175, allocations: 0.9688 kB / 0.5346 GB, free: 10.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006332/0.5181, allocations: 145.2 kB / 0.5347 GB, free: 10.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.5182, allocations: 56.67 kB / 0.5348 GB, free: 10.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.5184, allocations: 163.6 kB / 0.5349 GB, free: 10.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.5185, allocations: 29.69 kB / 0.535 GB, free: 10.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.5186, allocations: 92.55 kB / 0.535 GB, free: 10.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.5186, allocations: 21.03 kB / 0.5351 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.5187, allocations: 26.2 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5188, allocations: 321.1 kB / 0.5354 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/0.5189, allocations: 15.48 kB / 0.5354 GB, free: 9.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.053e-05/0.5189, allocations: 18.17 kB / 0.5354 GB, free: 9.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.5191, allocations: 48.62 kB / 0.5355 GB, free: 9.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.5191, allocations: 192 / 0.5355 GB, free: 9.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001833/0.5193, allocations: 88.7 kB / 0.5356 GB, free: 9.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5193, allocations: 5.688 kB / 0.5356 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5193, allocations: 0 / 0.5356 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.5193, allocations: 0 / 0.5356 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.5194, allocations: 14.14 kB / 0.5356 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.5194, allocations: 1.094 kB / 0.5356 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.5195, allocations: 10.19 kB / 0.5356 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.5195, allocations: 2.25 kB / 0.5356 GB, free: 9.672 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 9.44e-05/0.5196, allocations: 123.6 kB / 0.5357 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.5197, allocations: 15.27 kB / 0.5357 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.5199, allocations: 89.41 kB / 0.5358 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.52, allocations: 5.094 kB / 0.5358 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.52, allocations: 1.156 kB / 0.5358 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.52, allocations: 3.938 kB / 0.5358 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.5204, allocations: 351.8 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5204, allocations: 0 / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.5205, allocations: 10.09 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5205, allocations: 0 / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.5205, allocations: 9.266 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5205, allocations: 0 / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5205, allocations: 1.406 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.5208, allocations: 174.7 kB / 0.5363 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.5208, allocations: 84.06 kB / 0.5364 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.5209, allocations: 9.297 kB / 0.5364 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.5209, allocations: 10.75 kB / 0.5364 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.521, allocations: 5.312 kB / 0.5364 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.521, allocations: 2.75 kB / 0.5364 GB, free: 8.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.638e-05/0.5211, allocations: 123.9 kB / 0.5366 GB, free: 8.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5211, allocations: 0 / 0.5366 GB, free: 8.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.5214, allocations: 22.94 kB / 0.5366 GB, free: 8.719 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.0009909/0.5224, allocations: 399 kB / 0.537 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.5226, allocations: 43.59 kB / 0.537 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5226, allocations: 1.344 kB / 0.537 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.5227, allocations: 26.52 kB / 0.537 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.5231, allocations: 24.34 kB / 0.5371 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.5236, allocations: 195.8 kB / 0.5372 GB, free: 8.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.5239, allocations: 0.6916 MB / 0.5379 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.975e-05/0.5239, allocations: 21 kB / 0.5379 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.524, allocations: 16.84 kB / 0.538 GB, free: 7.57 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.524, allocations: 0 / 0.538 GB, free: 7.57 MB / 398.1 MB Notification: Performance of Templates: time 0.00379/0.5278, allocations: 1.114 MB / 0.539 GB, free: 6.996 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches