Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001452/0.001452, allocations: 109.9 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001708/0.001708, allocations: 213.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 75.88 kB / 482.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3154, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002964/0.3184, allocations: 1.734 MB / 0.5334 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.32, allocations: 1.021 MB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.3201, allocations: 3.938 kB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.3204, allocations: 35.3 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.3207, allocations: 98.72 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.3209, allocations: 80.36 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.3211, allocations: 104.7 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.862e-05/0.3212, allocations: 6.844 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.496e-05/0.3213, allocations: 47.78 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.3214, allocations: 38.03 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.3214, allocations: 4.344 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.3215, allocations: 39.27 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.3216, allocations: 22.77 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.3216, allocations: 32 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.3219, allocations: 122.1 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3219, allocations: 1.375 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3219, allocations: 0 / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3219, allocations: 3.984 kB / 0.535 GB, free: 11.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004948/0.3224, allocations: 415 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3225, allocations: 9.625 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.3225, allocations: 16.95 kB / 0.5355 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.3227, allocations: 213.2 kB / 0.5357 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3228, allocations: 1.75 kB / 0.5357 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.3228, allocations: 6.875 kB / 0.5357 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.323, allocations: 54.05 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.323, allocations: 3.906 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.323, allocations: 5.375 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.323, allocations: 3.938 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.611e-05/0.3231, allocations: 22.98 kB / 0.5358 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.3235, allocations: 290.8 kB / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.3236, allocations: 57.92 kB / 0.5361 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.3237, allocations: 21.11 kB / 0.5361 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.3237, allocations: 1.375 kB / 0.5361 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.3239, allocations: 73.12 kB / 0.5362 GB, free: 9.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.3239, allocations: 0 / 0.5362 GB, free: 9.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005448/0.3245, allocations: 174.1 kB / 0.5364 GB, free: 9.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.3245, allocations: 52.5 kB / 0.5364 GB, free: 9.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.3247, allocations: 197.2 kB / 0.5366 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3248, allocations: 34.64 kB / 0.5366 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.3248, allocations: 101.5 kB / 0.5367 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.3249, allocations: 27.23 kB / 0.5367 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.3249, allocations: 24.09 kB / 0.5368 GB, free: 9.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.325, allocations: 326.6 kB / 0.5371 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.3251, allocations: 22.33 kB / 0.5371 GB, free: 9.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.3252, allocations: 36.67 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.3253, allocations: 55.02 kB / 0.5372 GB, free: 9.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3253, allocations: 0 / 0.5372 GB, free: 9.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000202/0.3255, allocations: 115.5 kB / 0.5373 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3255, allocations: 5 kB / 0.5373 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3255, allocations: 5.344 kB / 0.5373 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3256, allocations: 0 / 0.5373 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3257, allocations: 20.98 kB / 0.5373 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.3257, allocations: 5.281 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.3258, allocations: 6.531 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3258, allocations: 2.281 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001042/0.3259, allocations: 127.7 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.3259, allocations: 9.594 kB / 0.5375 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.326, allocations: 13.84 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.326, allocations: 1.125 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.326, allocations: 1.094 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.326, allocations: 3.938 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.3264, allocations: 402.5 kB / 0.5379 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3264, allocations: 0 / 0.5379 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.3265, allocations: 8.812 kB / 0.5379 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3265, allocations: 1.094 kB / 0.5379 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3265, allocations: 8.938 kB / 0.5379 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.578e-05/0.3265, allocations: 5.172 kB / 0.5379 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3265, allocations: 1.5 kB / 0.5379 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.3268, allocations: 204 kB / 0.5381 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.3268, allocations: 88.42 kB / 0.5382 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.3269, allocations: 13.16 kB / 0.5382 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.3269, allocations: 2.406 kB / 0.5382 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.327, allocations: 7.203 kB / 0.5382 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.327, allocations: 2.969 kB / 0.5382 GB, free: 8.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.3271, allocations: 153.6 kB / 0.5384 GB, free: 7.965 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3271, allocations: 4 kB / 0.5384 GB, free: 7.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.3274, allocations: 24.28 kB / 0.5384 GB, free: 7.953 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001042/0.3285, allocations: 455.9 kB / 0.5388 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.3287, allocations: 61.98 kB / 0.5389 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3287, allocations: 0 / 0.5389 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.016e-05/0.3287, allocations: 32.8 kB / 0.5389 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.3291, allocations: 28.53 kB / 0.5389 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.3295, allocations: 260 kB / 0.5392 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.3298, allocations: 0.7057 MB / 0.5399 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.3298, allocations: 19.11 kB / 0.5399 GB, free: 6.734 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3299, allocations: 1.562 kB / 0.5399 GB, free: 6.734 MB / 398.1 MB Notification: Performance of Templates: time 0.003823/0.3337, allocations: 1.954 MB / 0.5418 GB, free: 5.723 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches