Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001389/0.001389, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2441/0.2441, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 79.88 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4243, allocations: 62.44 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004232/0.4286, allocations: 1.726 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003355/0.432, allocations: 1.621 MB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.525e-05/0.4321, allocations: 1.156 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.4325, allocations: 45.3 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000432/0.4329, allocations: 103.6 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.4332, allocations: 80.2 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.4335, allocations: 109.2 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.4336, allocations: 15.36 kB / 0.5347 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.4338, allocations: 46.28 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.434, allocations: 47.23 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.434, allocations: 6.531 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.4343, allocations: 122.7 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.4344, allocations: 18.48 kB / 0.5349 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.697e-05/0.4345, allocations: 40.89 kB / 0.535 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.4349, allocations: 181.2 kB / 0.5351 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4349, allocations: 0 / 0.5351 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4349, allocations: 1.156 kB / 0.5351 GB, free: 10.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.435, allocations: 0 / 0.5351 GB, free: 10.47 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000718/0.4357, allocations: 431.1 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4357, allocations: 9.156 kB / 0.5356 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.4358, allocations: 13.78 kB / 0.5356 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.4363, allocations: 217.2 kB / 0.5358 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.4363, allocations: 9.609 kB / 0.5358 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.4363, allocations: 10.62 kB / 0.5358 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.4366, allocations: 73.34 kB / 0.5359 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4366, allocations: 0 / 0.5359 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4366, allocations: 1.375 kB / 0.5359 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4367, allocations: 0 / 0.5359 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.4368, allocations: 35.09 kB / 0.5359 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.4373, allocations: 297.5 kB / 0.5362 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.4376, allocations: 73.45 kB / 0.5363 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.882e-05/0.4377, allocations: 23.69 kB / 0.5363 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.4377, allocations: 6.188 kB / 0.5363 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.4379, allocations: 71.64 kB / 0.5363 GB, free: 9.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.774e-06/0.438, allocations: 0 / 0.5363 GB, free: 9.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007737/0.4387, allocations: 204.1 kB / 0.5365 GB, free: 9.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.716e-05/0.4388, allocations: 86.38 kB / 0.5366 GB, free: 9.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.4391, allocations: 166.2 kB / 0.5368 GB, free: 8.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.4392, allocations: 31.86 kB / 0.5368 GB, free: 8.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/0.4393, allocations: 104.7 kB / 0.5369 GB, free: 8.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.4393, allocations: 23.84 kB / 0.5369 GB, free: 8.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.4394, allocations: 29.61 kB / 0.537 GB, free: 8.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4396, allocations: 333.3 kB / 0.5373 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.952e-05/0.4397, allocations: 21.31 kB / 0.5373 GB, free: 8.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.4398, allocations: 48.2 kB / 0.5373 GB, free: 8.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.44, allocations: 71.62 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.44, allocations: 3.984 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003124/0.4404, allocations: 111.2 kB / 0.5375 GB, free: 8.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4404, allocations: 4.812 kB / 0.5375 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4404, allocations: 1.031 kB / 0.5375 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4404, allocations: 1.062 kB / 0.5375 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.4406, allocations: 22.3 kB / 0.5376 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.4406, allocations: 1.281 kB / 0.5376 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.536e-05/0.4407, allocations: 10.53 kB / 0.5376 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.4407, allocations: 4 kB / 0.5376 GB, free: 8.191 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 (11): * Single equations (assignments): 11 * 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.0001456/0.4409, allocations: 128.5 kB / 0.5377 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.4409, allocations: 9.188 kB / 0.5377 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.996e-05/0.441, allocations: 13.91 kB / 0.5377 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.441, allocations: 4.922 kB / 0.5377 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.441, allocations: 0 / 0.5377 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.441, allocations: 4.719 kB / 0.5377 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007081/0.4418, allocations: 422.5 kB / 0.5381 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.4418, allocations: 1.062 kB / 0.5381 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.4418, allocations: 8.75 kB / 0.5381 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4419, allocations: 1.125 kB / 0.5381 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.4419, allocations: 6 kB / 0.5381 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4419, allocations: 1.125 kB / 0.5381 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4419, allocations: 3.984 kB / 0.5381 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.4424, allocations: 215.8 kB / 0.5384 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.4424, allocations: 88.33 kB / 0.5384 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.4425, allocations: 5.781 kB / 0.5384 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.4426, allocations: 10.77 kB / 0.5385 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.4427, allocations: 11.2 kB / 0.5385 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.4427, allocations: 7.828 kB / 0.5385 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.4429, allocations: 127.6 kB / 0.5386 GB, free: 7.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.465e-06/0.4429, allocations: 0 / 0.5386 GB, free: 7.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005108/0.4435, allocations: 56.05 kB / 0.5386 GB, free: 7.207 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 (9): * Single equations (assignments): 7 * 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.001928/0.4454, allocations: 0.5375 MB / 0.5392 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.4457, allocations: 68.59 kB / 0.5392 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4458, allocations: 8.062 kB / 0.5392 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.4459, allocations: 32.36 kB / 0.5393 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.4465, allocations: 30.47 kB / 0.5393 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000686/0.4472, allocations: 219 kB / 0.5395 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.4476, allocations: 0.7002 MB / 0.5402 GB, free: 5.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.4477, allocations: 29.75 kB / 0.5402 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.4478, allocations: 26.55 kB / 0.5403 GB, free: 5.945 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4478, allocations: 0 / 0.5403 GB, free: 5.945 MB / 398.1 MB Notification: Performance of Templates: time 0.008014/0.4559, allocations: 2.451 MB / 0.5426 GB, free: 4.699 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches