Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 103.5 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3564/0.3564, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 67.89 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3212, allocations: 62.01 MB / 0.5152 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002735/0.324, allocations: 1.763 MB / 0.5169 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.3253, allocations: 0.9995 MB / 0.5179 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.066e-05/0.3254, allocations: 6.781 kB / 0.5179 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.3257, allocations: 52.59 kB / 0.5179 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.326, allocations: 88.72 kB / 0.518 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.3262, allocations: 91.55 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.3263, allocations: 98.16 kB / 0.5182 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.177e-05/0.3264, allocations: 5.922 kB / 0.5182 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.45e-05/0.3265, allocations: 46 kB / 0.5182 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.3266, allocations: 30.55 kB / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.3266, allocations: 2.969 kB / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.781e-05/0.3267, allocations: 29.44 kB / 0.5183 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.098e-05/0.3267, allocations: 34.64 kB / 0.5183 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.3268, allocations: 39.19 kB / 0.5184 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.327, allocations: 121.4 kB / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.327, allocations: 0 / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.327, allocations: 0 / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.327, allocations: 0 / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000496/0.3275, allocations: 434.9 kB / 0.5189 GB, free: 35.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3275, allocations: 8.75 kB / 0.5189 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.3276, allocations: 17.5 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.3278, allocations: 223.5 kB / 0.5191 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3278, allocations: 384 / 0.5191 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.3278, allocations: 7 kB / 0.5191 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.328, allocations: 49.69 kB / 0.5192 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.328, allocations: 0 / 0.5192 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.328, allocations: 4 kB / 0.5192 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.328, allocations: 2.938 kB / 0.5192 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.945e-05/0.3281, allocations: 9.125 kB / 0.5192 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.3282, allocations: 199.5 kB / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.3284, allocations: 61.47 kB / 0.5194 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.3284, allocations: 28.53 kB / 0.5195 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.3285, allocations: 3.984 kB / 0.5195 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.3286, allocations: 65.25 kB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3286, allocations: 7.938 kB / 0.5195 GB, free: 34.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002425/0.3289, allocations: 93.17 kB / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.3289, allocations: 51.41 kB / 0.5197 GB, free: 34.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.3291, allocations: 275.2 kB / 0.5199 GB, free: 34.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.3291, allocations: 29.7 kB / 0.52 GB, free: 34.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.3292, allocations: 111.5 kB / 0.5201 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.3292, allocations: 9.938 kB / 0.5201 GB, free: 34.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.3293, allocations: 16.66 kB / 0.5201 GB, free: 34.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.664e-05/0.3293, allocations: 338.9 kB / 0.5204 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.375e-05/0.3294, allocations: 13.12 kB / 0.5204 GB, free: 33.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.942e-05/0.3294, allocations: 28.73 kB / 0.5205 GB, free: 33.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.177e-05/0.3295, allocations: 42.45 kB / 0.5205 GB, free: 33.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3295, allocations: 2.875 kB / 0.5205 GB, free: 33.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001362/0.3297, allocations: 95.48 kB / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3297, allocations: 2.938 kB / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3297, allocations: 2.719 kB / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3297, allocations: 0 / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.392e-05/0.3298, allocations: 15.84 kB / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3298, allocations: 0 / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.3299, allocations: 3.188 kB / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3299, allocations: 2.844 kB / 0.5206 GB, free: 33.7 MB / 378.7 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 (7): * Single equations (assignments): 7 * 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.066e-05/0.33, allocations: 139.1 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.33, allocations: 24.47 kB / 0.5208 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.33, allocations: 17.94 kB / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.33, allocations: 0 / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.33, allocations: 0 / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3301, allocations: 6.156 kB / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.3302, allocations: 194.4 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3302, allocations: 3.141 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.3302, allocations: 5.469 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3302, allocations: 0 / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3302, allocations: 4 kB / 0.521 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3302, allocations: 160 / 0.521 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3302, allocations: 6.625 kB / 0.521 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.3306, allocations: 0.6952 MB / 0.5217 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.3306, allocations: 87.7 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3306, allocations: 6.781 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.538e-05/0.3307, allocations: 3.75 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.3307, allocations: 14.91 kB / 0.5218 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.3307, allocations: 6.875 kB / 0.5218 GB, free: 32.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001203/0.3308, allocations: 202.2 kB / 0.522 GB, free: 32.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3309, allocations: 0 / 0.522 GB, free: 32.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.3311, allocations: 18.25 kB / 0.522 GB, free: 32.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0007921/0.3319, allocations: 411.9 kB / 0.5224 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.3321, allocations: 39.12 kB / 0.5224 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3321, allocations: 4.062 kB / 0.5225 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.5e-05/0.3322, allocations: 24 kB / 0.5225 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.3324, allocations: 20.23 kB / 0.5225 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.3329, allocations: 406.8 kB / 0.5229 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.333, allocations: 0.7209 MB / 0.5236 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.571e-05/0.3331, allocations: 16.47 kB / 0.5236 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.3331, allocations: 13.12 kB / 0.5236 GB, free: 31.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3331, allocations: 0 / 0.5236 GB, free: 31.16 MB / 378.7 MB Notification: Performance of Templates: time 0.00344/0.3365, allocations: 1.499 MB / 0.5251 GB, free: 30.99 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches