Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.001116, allocations: 117.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 203.8 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 79.86 kB / 481.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4195, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003543/0.4231, allocations: 1.934 MB / 0.5329 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.4249, allocations: 1.053 MB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.4251, allocations: 6.75 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.4255, allocations: 45.33 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.4258, allocations: 97.61 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.4261, allocations: 99 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.4263, allocations: 145.3 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.4265, allocations: 33.91 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.4266, allocations: 57.72 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.4267, allocations: 44.09 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.4267, allocations: 8.25 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.4269, allocations: 54.56 kB / 0.5345 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.427, allocations: 21.92 kB / 0.5346 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.636e-05/0.4271, allocations: 56.02 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.4274, allocations: 153 kB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4274, allocations: 0 / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4274, allocations: 5.156 kB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.4275, allocations: 0 / 0.5348 GB, free: 10.73 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009074/0.4284, allocations: 482.8 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.4284, allocations: 10.28 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.4285, allocations: 15.25 kB / 0.5353 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004535/0.429, allocations: 236.6 kB / 0.5355 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.429, allocations: 7.156 kB / 0.5355 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.429, allocations: 13.09 kB / 0.5355 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.4294, allocations: 110.2 kB / 0.5356 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4294, allocations: 0 / 0.5356 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.4294, allocations: 5.125 kB / 0.5356 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.4294, allocations: 2.156 kB / 0.5356 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.4296, allocations: 54.33 kB / 0.5357 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007537/0.4304, allocations: 0.5035 MB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/0.4308, allocations: 92.25 kB / 0.5362 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.4309, allocations: 40.25 kB / 0.5363 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.431, allocations: 1.062 kB / 0.5363 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.4312, allocations: 84.94 kB / 0.5364 GB, free: 9.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 3.276e-06/0.4312, allocations: 0 / 0.5364 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005001/0.4318, allocations: 140.2 kB / 0.5365 GB, free: 9.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.4318, allocations: 68.34 kB / 0.5366 GB, free: 9.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.4321, allocations: 194.6 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.4321, allocations: 30.92 kB / 0.5368 GB, free: 8.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.4322, allocations: 118.9 kB / 0.5369 GB, free: 8.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.4323, allocations: 35.75 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.4323, allocations: 27.22 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4325, allocations: 330.7 kB / 0.5373 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.776e-05/0.4326, allocations: 32.2 kB / 0.5373 GB, free: 8.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.4327, allocations: 60.66 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.433, allocations: 97.17 kB / 0.5374 GB, free: 8.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.433, allocations: 0 / 0.5374 GB, free: 8.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000307/0.4333, allocations: 142.4 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4333, allocations: 5.469 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4333, allocations: 6.109 kB / 0.5376 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.4333, allocations: 5.938 kB / 0.5376 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.4335, allocations: 26.52 kB / 0.5376 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.4335, allocations: 5.062 kB / 0.5376 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.947e-05/0.4336, allocations: 9.578 kB / 0.5376 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.4336, allocations: 4.531 kB / 0.5376 GB, free: 8.094 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.4337, allocations: 136.7 kB / 0.5378 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.4338, allocations: 14.34 kB / 0.5378 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.502e-05/0.4338, allocations: 22.67 kB / 0.5378 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4338, allocations: 5.062 kB / 0.5378 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4338, allocations: 0 / 0.5378 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4339, allocations: 4 kB / 0.5378 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.4341, allocations: 211.4 kB / 0.538 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4341, allocations: 0 / 0.538 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.201e-05/0.4342, allocations: 14.14 kB / 0.538 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4342, allocations: 0 / 0.538 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.4342, allocations: 1.312 kB / 0.538 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.4342, allocations: 5.156 kB / 0.538 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4342, allocations: 0 / 0.538 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.4346, allocations: 181.6 kB / 0.5382 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.752e-05/0.4347, allocations: 92.47 kB / 0.5383 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.4348, allocations: 1.125 kB / 0.5383 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.105e-05/0.4348, allocations: 7.375 kB / 0.5383 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.4349, allocations: 8.359 kB / 0.5383 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.4349, allocations: 6.406 kB / 0.5383 GB, free: 7.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.4351, allocations: 141.5 kB / 0.5385 GB, free: 7.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4351, allocations: 4.969 kB / 0.5385 GB, free: 7.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.4353, allocations: 31.67 kB / 0.5385 GB, free: 7.328 MB / 398.1 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 (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.001093/0.4364, allocations: 419.6 kB / 0.5389 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.4367, allocations: 75.38 kB / 0.539 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4367, allocations: 1.031 kB / 0.539 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.4369, allocations: 41.28 kB / 0.539 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.4372, allocations: 40.25 kB / 0.539 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006739/0.4379, allocations: 269 kB / 0.5393 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.4383, allocations: 0.712 MB / 0.54 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.814e-05/0.4384, allocations: 24.33 kB / 0.54 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.4384, allocations: 16.34 kB / 0.54 GB, free: 6.098 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4384, allocations: 0 / 0.54 GB, free: 6.098 MB / 398.1 MB Notification: Performance of Templates: time 0.005642/0.4441, allocations: 1.94 MB / 0.5419 GB, free: 5.109 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches