Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001531/0.00153, allocations: 195.2 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 226.6 MB / 243.4 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007845/0.0007845, allocations: 101.8 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3164/0.3164, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002594/0.0002596, allocations: 12 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3315, allocations: 62.96 MB / 0.5159 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002067/0.3336, allocations: 1.615 MB / 0.5175 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.3351, allocations: 0.9917 MB / 0.5184 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3352, allocations: 2.969 kB / 0.5184 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.3356, allocations: 41.53 kB / 0.5185 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.3359, allocations: 72.44 kB / 0.5185 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.3363, allocations: 113.1 kB / 0.5186 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.3364, allocations: 131.8 kB / 0.5188 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3366, allocations: 20.2 kB / 0.5188 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.838e-05/0.3367, allocations: 46.75 kB / 0.5188 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.756e-05/0.3368, allocations: 52.36 kB / 0.5189 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3368, allocations: 2.906 kB / 0.5189 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.807e-05/0.3369, allocations: 39.53 kB / 0.5189 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.337, allocations: 28.02 kB / 0.519 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.337, allocations: 68.08 kB / 0.519 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.3372, allocations: 110 kB / 0.5191 GB, free: 34.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3372, allocations: 0 / 0.5191 GB, free: 34.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3373, allocations: 2.5 kB / 0.5191 GB, free: 34.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.3373, allocations: 0 / 0.5191 GB, free: 34.8 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006548/0.3379, allocations: 459.2 kB / 0.5196 GB, free: 34.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.338, allocations: 12.81 kB / 0.5196 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.338, allocations: 17.56 kB / 0.5196 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.3383, allocations: 234.6 kB / 0.5198 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.3383, allocations: 10.53 kB / 0.5198 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.3384, allocations: 9.906 kB / 0.5198 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.3386, allocations: 101.2 kB / 0.5199 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3386, allocations: 4 kB / 0.5199 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.3387, allocations: 10.89 kB / 0.5199 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.3387, allocations: 0 / 0.5199 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.3388, allocations: 56.06 kB / 0.52 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.3393, allocations: 0.5083 MB / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.3396, allocations: 84.62 kB / 0.5206 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.069e-05/0.3398, allocations: 48.86 kB / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.3398, allocations: 6.766 kB / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.34, allocations: 89.08 kB / 0.5207 GB, free: 33.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.475e-06/0.34, allocations: 0 / 0.5207 GB, free: 33.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003714/0.3404, allocations: 151.4 kB / 0.5209 GB, free: 33.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.3404, allocations: 62.34 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3406, allocations: 189.5 kB / 0.5211 GB, free: 33.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.3406, allocations: 29.7 kB / 0.5211 GB, free: 33.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.3407, allocations: 120.3 kB / 0.5212 GB, free: 32.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.3407, allocations: 26.03 kB / 0.5213 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.3407, allocations: 3.938 kB / 0.5213 GB, free: 32.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.228e-05/0.3408, allocations: 334.6 kB / 0.5216 GB, free: 32.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.271e-05/0.3409, allocations: 31.31 kB / 0.5216 GB, free: 32.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.417e-05/0.341, allocations: 58.45 kB / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.3412, allocations: 108 kB / 0.5218 GB, free: 32.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3412, allocations: 0 / 0.5218 GB, free: 32.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002331/0.3414, allocations: 142.6 kB / 0.5219 GB, free: 32.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3414, allocations: 8.688 kB / 0.5219 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.3414, allocations: 0 / 0.5219 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3415, allocations: 2.844 kB / 0.5219 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.3416, allocations: 24.7 kB / 0.522 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3416, allocations: 3.75 kB / 0.522 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.3417, allocations: 22.88 kB / 0.522 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3417, allocations: 7.031 kB / 0.522 GB, free: 32.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.811e-05/0.3418, allocations: 130.4 kB / 0.5221 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.3418, allocations: 13.62 kB / 0.5221 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.3419, allocations: 18.5 kB / 0.5221 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3419, allocations: 3.938 kB / 0.5221 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3419, allocations: 0 / 0.5221 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3419, allocations: 3.094 kB / 0.5221 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.342, allocations: 209.7 kB / 0.5223 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3421, allocations: 0 / 0.5223 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-05/0.3421, allocations: 18.89 kB / 0.5224 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3421, allocations: 4 kB / 0.5224 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.3422, allocations: 2.875 kB / 0.5224 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3422, allocations: 3.938 kB / 0.5224 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3422, allocations: 3.422 kB / 0.5224 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.3425, allocations: 196.1 kB / 0.5226 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.3426, allocations: 87.86 kB / 0.5226 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.3426, allocations: 9.891 kB / 0.5227 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.943e-05/0.3427, allocations: 10.81 kB / 0.5227 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.3427, allocations: 8.875 kB / 0.5227 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.3427, allocations: 3.031 kB / 0.5227 GB, free: 31.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.705e-05/0.3428, allocations: 151.2 kB / 0.5228 GB, free: 31.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3428, allocations: 0 / 0.5228 GB, free: 31.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.3431, allocations: 35.03 kB / 0.5229 GB, free: 31.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0008807/0.344, allocations: 406.6 kB / 0.5232 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.3442, allocations: 81.17 kB / 0.5233 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3442, allocations: 3.938 kB / 0.5233 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.323e-05/0.3443, allocations: 41.16 kB / 0.5234 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.3446, allocations: 28.5 kB / 0.5234 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.3451, allocations: 326.4 kB / 0.5237 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.3452, allocations: 0.7136 MB / 0.5244 GB, free: 30.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.3453, allocations: 23.28 kB / 0.5244 GB, free: 30.5 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3453, allocations: 0 / 0.5244 GB, free: 30.5 MB / 378.7 MB Notification: Performance of Templates: time 0.003322/0.3486, allocations: 2.192 MB / 0.5266 GB, free: 30.29 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches