Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 117.2 kB / 17.79 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.001886/0.001886, allocations: 208.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, 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.2207/0.2207, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 79.86 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3659, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002918/0.3688, allocations: 1.601 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009604/0.3698, allocations: 0.5353 MB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/0.3699, allocations: 0 / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.3701, allocations: 29.56 kB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.3704, allocations: 79.03 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.3707, allocations: 118.5 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.3708, allocations: 62.02 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.371, allocations: 14.8 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.924e-05/0.371, allocations: 21.5 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.62e-05/0.3711, allocations: 25.34 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.3711, allocations: 6.75 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-05/0.3712, allocations: 36.61 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.3713, allocations: 12.06 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.3713, allocations: 21.36 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.3715, allocations: 79.22 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3715, allocations: 0 / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3715, allocations: 1.375 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3715, allocations: 0 / 0.5336 GB, free: 11.64 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.0005183/0.372, allocations: 385.4 kB / 0.5339 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3721, allocations: 13.62 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.3721, allocations: 8.969 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.3723, allocations: 192.4 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3724, allocations: 5.75 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.3724, allocations: 1.75 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3725, allocations: 52.75 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3726, allocations: 1.375 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3726, allocations: 0 / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3726, allocations: 3.984 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.3727, allocations: 29.67 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.3731, allocations: 280.3 kB / 0.5345 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.3733, allocations: 49.78 kB / 0.5346 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.3734, allocations: 15.73 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.3734, allocations: 8.062 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.3735, allocations: 39.88 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3735, allocations: 0 / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005627/0.374, allocations: 147.3 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3741, allocations: 55.41 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3742, allocations: 148.1 kB / 0.535 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.3742, allocations: 29.7 kB / 0.535 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.3743, allocations: 105.2 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.3743, allocations: 9.188 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.3744, allocations: 17.56 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.3745, allocations: 325.8 kB / 0.5354 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.028e-05/0.3745, allocations: 19.7 kB / 0.5354 GB, free: 9.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.3746, allocations: 24.12 kB / 0.5355 GB, free: 9.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.3748, allocations: 59.27 kB / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3748, allocations: 0 / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001888/0.375, allocations: 84.02 kB / 0.5356 GB, free: 9.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.375, allocations: 9.141 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.375, allocations: 0 / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.375, allocations: 0 / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.3751, allocations: 9.781 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3751, allocations: 0.6875 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.3751, allocations: 15.52 kB / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.3752, allocations: 1.125 kB / 0.5356 GB, free: 9.645 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 7.622e-05/0.3752, allocations: 118.7 kB / 0.5357 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.3753, allocations: 8.219 kB / 0.5357 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.3755, allocations: 100.3 kB / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3755, allocations: 1.344 kB / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3755, allocations: 4 kB / 0.5359 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3755, allocations: 1.375 kB / 0.5359 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.3759, allocations: 354.1 kB / 0.5362 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.376, allocations: 1.125 kB / 0.5362 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.376, allocations: 13.27 kB / 0.5362 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.376, allocations: 1.156 kB / 0.5362 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.376, allocations: 0 / 0.5362 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.376, allocations: 12.84 kB / 0.5362 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.376, allocations: 0 / 0.5362 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.3763, allocations: 191.1 kB / 0.5364 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.3763, allocations: 79.33 kB / 0.5365 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.3763, allocations: 1.125 kB / 0.5365 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.3764, allocations: 10.14 kB / 0.5365 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.3764, allocations: 6.25 kB / 0.5365 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3765, allocations: 2.281 kB / 0.5365 GB, free: 8.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.462e-05/0.3765, allocations: 128.7 kB / 0.5366 GB, free: 8.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3766, allocations: 0 / 0.5366 GB, free: 8.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.3768, allocations: 18.28 kB / 0.5366 GB, free: 8.688 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.0008733/0.3777, allocations: 391.5 kB / 0.537 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.3779, allocations: 59.17 kB / 0.5371 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3779, allocations: 4 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.615e-05/0.378, allocations: 25.86 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3784, allocations: 29.56 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.3788, allocations: 175.4 kB / 0.5373 GB, free: 8.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.379, allocations: 0.6995 MB / 0.538 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.724e-05/0.3791, allocations: 23.91 kB / 0.538 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.3791, allocations: 12.53 kB / 0.538 GB, free: 7.543 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3792, allocations: 0 / 0.538 GB, free: 7.543 MB / 398.1 MB Notification: Performance of Templates: time 0.003575/0.3827, allocations: 1.132 MB / 0.5391 GB, free: 6.957 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches