Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.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.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001762/0.001762, 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.002063/0.002063, allocations: 202 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.476/1.476, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 79.88 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4145, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002957/0.4175, allocations: 1.61 MB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.4186, allocations: 0.5233 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.4187, allocations: 3.938 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.4189, allocations: 25.36 kB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.4192, allocations: 75.05 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.4195, allocations: 94.58 kB / 0.5333 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.4197, allocations: 66.33 kB / 0.5333 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.392e-05/0.4198, allocations: 9.906 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.993e-05/0.4198, allocations: 24.67 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.4199, allocations: 26.59 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.4199, allocations: 1.844 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.723e-05/0.42, allocations: 32.58 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.4201, allocations: 13.06 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.4201, allocations: 23.81 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.4203, allocations: 87.2 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4203, allocations: 0 / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4203, allocations: 0 / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.4203, allocations: 5.344 kB / 0.5336 GB, free: 11.61 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.0004907/0.4208, allocations: 381.5 kB / 0.5339 GB, free: 11.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.4209, allocations: 9 kB / 0.5339 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.4209, allocations: 8.656 kB / 0.5339 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.4211, allocations: 188.7 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.4212, allocations: 5.688 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.4212, allocations: 1.688 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.4213, allocations: 56.86 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4214, allocations: 0 / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4214, allocations: 0 / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.4214, allocations: 1.062 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.4215, allocations: 24.69 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.4219, allocations: 279.6 kB / 0.5345 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.4221, allocations: 48.41 kB / 0.5345 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.4222, allocations: 14.56 kB / 0.5345 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.4222, allocations: 1.438 kB / 0.5345 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.4222, allocations: 34.56 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.4223, allocations: 1.344 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005713/0.4228, allocations: 144.2 kB / 0.5347 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.4229, allocations: 52.56 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.4231, allocations: 148.3 kB / 0.5349 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.4231, allocations: 29.64 kB / 0.5349 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.4231, allocations: 99.81 kB / 0.535 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.4232, allocations: 10.38 kB / 0.535 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.4232, allocations: 21.09 kB / 0.535 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4234, allocations: 325 kB / 0.5354 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-05/0.4235, allocations: 18.36 kB / 0.5354 GB, free: 9.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/0.4235, allocations: 19.48 kB / 0.5354 GB, free: 9.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.4237, allocations: 47.64 kB / 0.5354 GB, free: 9.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4237, allocations: 0 / 0.5354 GB, free: 9.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001935/0.4239, allocations: 84.7 kB / 0.5355 GB, free: 9.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.4239, allocations: 5.938 kB / 0.5355 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.4239, allocations: 0 / 0.5355 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.424, allocations: 1.312 kB / 0.5355 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.424, allocations: 17.23 kB / 0.5355 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.424, allocations: 0 / 0.5355 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.114e-05/0.4241, allocations: 8.109 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4241, allocations: 1.375 kB / 0.5356 GB, free: 9.656 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.0001048/0.4242, allocations: 121.9 kB / 0.5357 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.4242, allocations: 8.031 kB / 0.5357 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.4245, allocations: 89.53 kB / 0.5358 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4245, allocations: 0 / 0.5358 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4245, allocations: 5.312 kB / 0.5358 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4245, allocations: 3.984 kB / 0.5358 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/0.425, allocations: 354.4 kB / 0.5361 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.425, allocations: 0 / 0.5361 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.4251, allocations: 13.61 kB / 0.5361 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4251, allocations: 1.375 kB / 0.5361 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.4251, allocations: 0 / 0.5361 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4251, allocations: 5.312 kB / 0.5361 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4251, allocations: 0 / 0.5361 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.4254, allocations: 179 kB / 0.5363 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.4255, allocations: 79.86 kB / 0.5364 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.4255, allocations: 5.625 kB / 0.5364 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.4256, allocations: 10.69 kB / 0.5364 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.4256, allocations: 5.359 kB / 0.5364 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.4256, allocations: 9.25 kB / 0.5364 GB, free: 8.809 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.4257, allocations: 125.8 kB / 0.5365 GB, free: 8.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4258, allocations: 0 / 0.5365 GB, free: 8.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.426, allocations: 18.06 kB / 0.5365 GB, free: 8.703 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.001025/0.4271, allocations: 400.7 kB / 0.5369 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.4273, allocations: 43.91 kB / 0.537 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4273, allocations: 1.188 kB / 0.537 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.793e-05/0.4274, allocations: 27.3 kB / 0.537 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.4278, allocations: 22.7 kB / 0.537 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.4282, allocations: 171.5 kB / 0.5372 GB, free: 8.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.4286, allocations: 0.6913 MB / 0.5379 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.273e-05/0.4286, allocations: 21.06 kB / 0.5379 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.4287, allocations: 15.8 kB / 0.5379 GB, free: 7.57 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4287, allocations: 0 / 0.5379 GB, free: 7.57 MB / 398.1 MB Notification: Performance of Templates: time 0.003714/0.4324, allocations: 1.126 MB / 0.539 GB, free: 6.984 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches