Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001218/0.001218, allocations: 118.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2367/0.2367, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 75.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4189, allocations: 62.44 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003633/0.4226, allocations: 1.595 MB / 0.5326 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.4238, allocations: 0.546 MB / 0.5331 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.4239, allocations: 1.375 kB / 0.5331 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.4242, allocations: 21.34 kB / 0.5331 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.4245, allocations: 84.36 kB / 0.5332 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.4248, allocations: 107.5 kB / 0.5333 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.425, allocations: 61.97 kB / 0.5334 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.4252, allocations: 14.86 kB / 0.5334 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.545e-05/0.4252, allocations: 24.11 kB / 0.5334 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/0.4253, allocations: 22.73 kB / 0.5334 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.4254, allocations: 6.75 kB / 0.5334 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.993e-05/0.4254, allocations: 36.55 kB / 0.5335 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.4255, allocations: 17.42 kB / 0.5335 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.4256, allocations: 16 kB / 0.5335 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.4257, allocations: 88.58 kB / 0.5336 GB, free: 11.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4258, allocations: 1.375 kB / 0.5336 GB, free: 11.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4258, allocations: 0 / 0.5336 GB, free: 11.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.4258, allocations: 0 / 0.5336 GB, free: 11.83 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.0004749/0.4263, allocations: 379 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4263, allocations: 17.61 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.4263, allocations: 8.969 kB / 0.534 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.4265, allocations: 197.7 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.4266, allocations: 1.75 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.4266, allocations: 5.688 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.4267, allocations: 60.73 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4268, allocations: 0 / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.4268, allocations: 1.375 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4268, allocations: 0 / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.363e-05/0.4269, allocations: 25.73 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.4273, allocations: 280.3 kB / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.4276, allocations: 49.75 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.4276, allocations: 15.81 kB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.4277, allocations: 1.375 kB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.4277, allocations: 34.56 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4277, allocations: 0 / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005619/0.4283, allocations: 156.3 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.4283, allocations: 51.41 kB / 0.5348 GB, free: 10.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.4286, allocations: 174.8 kB / 0.535 GB, free: 10.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.4286, allocations: 25.7 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.4287, allocations: 100.1 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.4288, allocations: 14.12 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.4288, allocations: 14.03 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4289, allocations: 322.5 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/0.429, allocations: 18.86 kB / 0.5354 GB, free: 9.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.577e-05/0.4291, allocations: 24.19 kB / 0.5355 GB, free: 9.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.4293, allocations: 64.08 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4293, allocations: 0 / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000205/0.4295, allocations: 87.22 kB / 0.5356 GB, free: 9.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4295, allocations: 5.656 kB / 0.5356 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4295, allocations: 0 / 0.5356 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4295, allocations: 5.109 kB / 0.5356 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.4296, allocations: 9.75 kB / 0.5356 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4296, allocations: 0 / 0.5356 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.4297, allocations: 15.2 kB / 0.5357 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.4297, allocations: 2.188 kB / 0.5357 GB, free: 9.832 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 8.939e-05/0.4298, allocations: 119.4 kB / 0.5358 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.4298, allocations: 11.36 kB / 0.5358 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.4301, allocations: 93.22 kB / 0.5359 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.4301, allocations: 5 kB / 0.5359 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4301, allocations: 1.25 kB / 0.5359 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4301, allocations: 7.938 kB / 0.5359 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.4306, allocations: 360.6 kB / 0.5362 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4306, allocations: 0 / 0.5362 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.4307, allocations: 10.03 kB / 0.5362 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4307, allocations: 0 / 0.5362 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.4307, allocations: 5.125 kB / 0.5362 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4307, allocations: 3.938 kB / 0.5362 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4307, allocations: 5.359 kB / 0.5362 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.431, allocations: 190.3 kB / 0.5364 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.4311, allocations: 83.28 kB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.4311, allocations: 9.031 kB / 0.5365 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.4312, allocations: 3.375 kB / 0.5365 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.4312, allocations: 5.109 kB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.4312, allocations: 2.375 kB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.4313, allocations: 127.9 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4313, allocations: 0 / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.4316, allocations: 22.16 kB / 0.5367 GB, free: 8.867 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.0008808/0.4324, allocations: 404.6 kB / 0.5371 GB, free: 8.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.4327, allocations: 51.41 kB / 0.5371 GB, free: 8.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4327, allocations: 0 / 0.5371 GB, free: 8.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.858e-05/0.4328, allocations: 40.69 kB / 0.5371 GB, free: 8.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.4331, allocations: 16.7 kB / 0.5372 GB, free: 8.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.4335, allocations: 193.1 kB / 0.5373 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.4338, allocations: 0.7011 MB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.352e-05/0.4338, allocations: 23.25 kB / 0.5381 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.4339, allocations: 12.66 kB / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4339, allocations: 0 / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of Templates: time 0.003658/0.4376, allocations: 1.144 MB / 0.5392 GB, free: 7.121 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches