Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 198.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 226.6 MB / 243.4 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007472/0.0007472, allocations: 94.77 kB / 295.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3244/0.3244, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4167, allocations: 62.96 MB / 0.5159 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.001811/0.4186, allocations: 1.592 MB / 0.5174 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.4199, allocations: 1.072 MB / 0.5185 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.789e-05/0.42, allocations: 0 / 0.5185 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003924/0.4204, allocations: 220.5 kB / 0.5187 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.4208, allocations: 184.9 kB / 0.5189 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.4212, allocations: 160 kB / 0.519 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.4215, allocations: 214.5 kB / 0.5192 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.4216, allocations: 35.73 kB / 0.5193 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.4218, allocations: 103.9 kB / 0.5194 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.4219, allocations: 134.1 kB / 0.5195 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.4219, allocations: 2.875 kB / 0.5195 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.4221, allocations: 53.95 kB / 0.5195 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.855e-05/0.4221, allocations: 50.5 kB / 0.5196 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.479e-05/0.4222, allocations: 117 kB / 0.5197 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.4224, allocations: 174 kB / 0.5199 GB, free: 34.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4224, allocations: 4 kB / 0.5199 GB, free: 34.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4224, allocations: 0 / 0.5199 GB, free: 34.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.4225, allocations: 0 / 0.5199 GB, free: 34.71 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005928/0.4231, allocations: 0.5307 MB / 0.5204 GB, free: 34.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.4231, allocations: 8.688 kB / 0.5204 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.4232, allocations: 31 kB / 0.5204 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.4234, allocations: 285.2 kB / 0.5207 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.4234, allocations: 7.344 kB / 0.5207 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.4235, allocations: 13.44 kB / 0.5207 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.4237, allocations: 111.1 kB / 0.5208 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.4237, allocations: 0 / 0.5208 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4237, allocations: 3.281 kB / 0.5208 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4237, allocations: 0 / 0.5208 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.4239, allocations: 47.88 kB / 0.5209 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.4243, allocations: 483.9 kB / 0.5213 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.4247, allocations: 119.3 kB / 0.5214 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/0.4248, allocations: 48.48 kB / 0.5215 GB, free: 33.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.4248, allocations: 6.344 kB / 0.5215 GB, free: 33.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.425, allocations: 108.5 kB / 0.5216 GB, free: 33.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.552e-06/0.425, allocations: 0 / 0.5216 GB, free: 33.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001138/0.4262, allocations: 0.5024 MB / 0.5221 GB, free: 33.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.4262, allocations: 80.11 kB / 0.5222 GB, free: 32.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.4266, allocations: 450.1 kB / 0.5226 GB, free: 32.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.4266, allocations: 33.05 kB / 0.5226 GB, free: 32.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.4267, allocations: 152.5 kB / 0.5228 GB, free: 32.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.4268, allocations: 76.16 kB / 0.5228 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.4268, allocations: 4 kB / 0.5229 GB, free: 32.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.4269, allocations: 348.7 kB / 0.5232 GB, free: 32.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.427, allocations: 53.97 kB / 0.5232 GB, free: 32.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.4271, allocations: 88.48 kB / 0.5233 GB, free: 32.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.4273, allocations: 165.2 kB / 0.5235 GB, free: 32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4273, allocations: 0 / 0.5235 GB, free: 32 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003155/0.4276, allocations: 232.3 kB / 0.5237 GB, free: 31.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4277, allocations: 9.062 kB / 0.5237 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4277, allocations: 2.719 kB / 0.5237 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4277, allocations: 0 / 0.5237 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.4278, allocations: 48.83 kB / 0.5238 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.4278, allocations: 2.469 kB / 0.5238 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.863e-05/0.4279, allocations: 13.31 kB / 0.5238 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.428, allocations: 12.22 kB / 0.5238 GB, free: 31.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001214/0.4281, allocations: 167.1 kB / 0.5239 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.4281, allocations: 37.22 kB / 0.524 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.809e-05/0.4282, allocations: 40.56 kB / 0.524 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.4282, allocations: 6.875 kB / 0.524 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-06/0.4282, allocations: 3.281 kB / 0.524 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4282, allocations: 0 / 0.524 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007022/0.4289, allocations: 0.7294 MB / 0.5247 GB, free: 31.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4289, allocations: 2.812 kB / 0.5247 GB, free: 31.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.416e-05/0.429, allocations: 31.81 kB / 0.5248 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.429, allocations: 6.812 kB / 0.5248 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.4291, allocations: 9.812 kB / 0.5248 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4291, allocations: 2.625 kB / 0.5248 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4291, allocations: 2.812 kB / 0.5248 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.4294, allocations: 427.5 kB / 0.5252 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.4295, allocations: 109.7 kB / 0.5253 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.4295, allocations: 3.438 kB / 0.5253 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.4297, allocations: 16.47 kB / 0.5253 GB, free: 30.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.4297, allocations: 20.7 kB / 0.5253 GB, free: 30.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.4298, allocations: 13.19 kB / 0.5254 GB, free: 30.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002445/0.43, allocations: 336 kB / 0.5257 GB, free: 30.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.43, allocations: 0 / 0.5257 GB, free: 30.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000327/0.4304, allocations: 52.45 kB / 0.5257 GB, free: 30.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001006/0.4314, allocations: 0.5179 MB / 0.5262 GB, free: 30.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002982/0.4317, allocations: 153 kB / 0.5264 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4317, allocations: 0 / 0.5264 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.4318, allocations: 85.39 kB / 0.5265 GB, free: 30.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.4324, allocations: 58.11 kB / 0.5265 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007263/0.4331, allocations: 0.6333 MB / 0.5271 GB, free: 29.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.4333, allocations: 0.7823 MB / 0.5279 GB, free: 29.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.4334, allocations: 25.5 kB / 0.5279 GB, free: 29.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4334, allocations: 0 / 0.5279 GB, free: 29.05 MB / 378.7 MB Notification: Performance of Templates: time 0.004766/0.4382, allocations: 3.717 MB / 0.5316 GB, free: 28.61 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time