Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 204.1 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 226.5 MB / 243.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008704/0.0008705, allocations: 92.28 kB / 295.5 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3896/0.3896, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003253, allocations: 15.98 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3193, allocations: 62.95 MB / 0.5159 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00161/0.321, allocations: 1.39 MB / 0.5172 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3222, allocations: 0.9402 MB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.3223, allocations: 0 / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.3226, allocations: 48.91 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.3228, allocations: 83.27 kB / 0.5183 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.323, allocations: 84.92 kB / 0.5184 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3232, allocations: 89.28 kB / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.3232, allocations: 8.016 kB / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.306e-05/0.3233, allocations: 40.36 kB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.873e-05/0.3234, allocations: 40.91 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.3234, allocations: 2.812 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.906e-05/0.3235, allocations: 32.89 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.3235, allocations: 13.22 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.663e-05/0.3236, allocations: 54.05 kB / 0.5186 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.3237, allocations: 75.97 kB / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3237, allocations: 0 / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3237, allocations: 0 / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3237, allocations: 0 / 0.5187 GB, free: 35.29 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.0004082/0.3242, allocations: 395.7 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.3242, allocations: 8.969 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.3242, allocations: 10.06 kB / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.3244, allocations: 200.4 kB / 0.5193 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.3244, allocations: 3.5 kB / 0.5193 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.3245, allocations: 11.55 kB / 0.5193 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.3246, allocations: 50.53 kB / 0.5194 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3246, allocations: 0 / 0.5194 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3246, allocations: 0 / 0.5194 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3246, allocations: 2.969 kB / 0.5194 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.942e-05/0.3247, allocations: 17.05 kB / 0.5194 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.3248, allocations: 186.1 kB / 0.5196 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.325, allocations: 49.73 kB / 0.5196 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.325, allocations: 28.88 kB / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.3251, allocations: 0 / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.3252, allocations: 69.58 kB / 0.5197 GB, free: 34.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.904e-06/0.3253, allocations: 0 / 0.5197 GB, free: 34.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002347/0.3255, allocations: 97.7 kB / 0.5198 GB, free: 34.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.3255, allocations: 55.34 kB / 0.5198 GB, free: 34.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3257, allocations: 177.5 kB / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.3257, allocations: 32.67 kB / 0.52 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.3257, allocations: 95.11 kB / 0.5201 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.3258, allocations: 22.62 kB / 0.5202 GB, free: 33.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.3258, allocations: 4 kB / 0.5202 GB, free: 33.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.078e-05/0.3258, allocations: 324.8 kB / 0.5205 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/0.3259, allocations: 17.09 kB / 0.5205 GB, free: 33.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.431e-05/0.3259, allocations: 24.69 kB / 0.5205 GB, free: 33.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.008e-05/0.326, allocations: 42.08 kB / 0.5205 GB, free: 33.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.326, allocations: 6.688 kB / 0.5206 GB, free: 33.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001248/0.3261, allocations: 84.09 kB / 0.5206 GB, free: 33.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3262, allocations: 8.219 kB / 0.5206 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3262, allocations: 0 / 0.5206 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3262, allocations: 0 / 0.5206 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.3263, allocations: 13.83 kB / 0.5207 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3263, allocations: 0 / 0.5207 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.3263, allocations: 6.938 kB / 0.5207 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3263, allocations: 6.844 kB / 0.5207 GB, free: 33.46 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.833e-05/0.3264, allocations: 130.8 kB / 0.5208 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.3264, allocations: 13.75 kB / 0.5208 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.3265, allocations: 15.03 kB / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.3265, allocations: 0 / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3265, allocations: 3.375 kB / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3265, allocations: 0 / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.457e-05/0.3266, allocations: 186 kB / 0.521 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3266, allocations: 0 / 0.521 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.3266, allocations: 3 kB / 0.521 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3266, allocations: 0 / 0.521 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.3267, allocations: 6.938 kB / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3267, allocations: 0 / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3267, allocations: 0 / 0.521 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.3268, allocations: 115.3 kB / 0.5211 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.3269, allocations: 90.11 kB / 0.5212 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.3269, allocations: 0 / 0.5212 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.3269, allocations: 10.17 kB / 0.5212 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.327, allocations: 10.97 kB / 0.5212 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.327, allocations: 0 / 0.5212 GB, free: 32.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.034e-05/0.3271, allocations: 138.6 kB / 0.5214 GB, free: 32.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3271, allocations: 0 / 0.5214 GB, free: 32.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000191/0.3273, allocations: 17.39 kB / 0.5214 GB, free: 32.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007965/0.3281, allocations: 399.2 kB / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.3282, allocations: 42.84 kB / 0.5218 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3282, allocations: 4.062 kB / 0.5218 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.858e-05/0.3283, allocations: 21.44 kB / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.3285, allocations: 34.14 kB / 0.5219 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.3289, allocations: 234 kB / 0.5221 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.3291, allocations: 0.7019 MB / 0.5228 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.3291, allocations: 13.12 kB / 0.5228 GB, free: 31.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3291, allocations: 0 / 0.5228 GB, free: 31.68 MB / 378.7 MB Notification: Performance of Templates: time 0.002965/0.3321, allocations: 1.7 MB / 0.5244 GB, free: 31.5 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches