Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002103/0.002103, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2369/0.2369, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 75.88 kB / 482.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4172, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.00405/0.4213, allocations: 1.732 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.4236, allocations: 1.018 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.4238, allocations: 5.375 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004772/0.4243, allocations: 78.08 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005208/0.4249, allocations: 119.4 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.4253, allocations: 82.91 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00031/0.4256, allocations: 113.2 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.4258, allocations: 10.88 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.426, allocations: 57.75 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.4261, allocations: 60.64 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.4261, allocations: 2.75 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.4263, allocations: 44.86 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.753e-05/0.4264, allocations: 24.11 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.4265, allocations: 47.95 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.4269, allocations: 124.8 kB / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4269, allocations: 0 / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4269, allocations: 3.938 kB / 0.5352 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.4269, allocations: 4 kB / 0.5352 GB, free: 10.99 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007153/0.4277, allocations: 417.7 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4277, allocations: 13.56 kB / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.4278, allocations: 14.03 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.4282, allocations: 221.2 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.4282, allocations: 5.484 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.4282, allocations: 6.25 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.4284, allocations: 54.48 kB / 0.5359 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.4284, allocations: 4 kB / 0.5359 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4285, allocations: 1.094 kB / 0.5359 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4285, allocations: 1.094 kB / 0.5359 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.683e-05/0.4286, allocations: 17.61 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.429, allocations: 292.9 kB / 0.5362 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.4292, allocations: 58.2 kB / 0.5362 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.4293, allocations: 21.67 kB / 0.5362 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.4294, allocations: 1.062 kB / 0.5362 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.4295, allocations: 72.59 kB / 0.5363 GB, free: 9.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.4295, allocations: 1.156 kB / 0.5363 GB, free: 9.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006319/0.4302, allocations: 170.5 kB / 0.5365 GB, free: 9.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.4302, allocations: 52.47 kB / 0.5365 GB, free: 9.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.4305, allocations: 229.7 kB / 0.5367 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.4305, allocations: 30.83 kB / 0.5368 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.609e-05/0.4306, allocations: 105.7 kB / 0.5369 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.4307, allocations: 27.78 kB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.4307, allocations: 24.41 kB / 0.5369 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4309, allocations: 327.3 kB / 0.5372 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.607e-05/0.4309, allocations: 22.27 kB / 0.5373 GB, free: 8.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.216e-05/0.431, allocations: 40.39 kB / 0.5373 GB, free: 8.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.4312, allocations: 58.48 kB / 0.5374 GB, free: 8.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4312, allocations: 1.219 kB / 0.5374 GB, free: 8.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002101/0.4314, allocations: 98.97 kB / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4314, allocations: 6.156 kB / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4314, allocations: 0 / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4314, allocations: 1.375 kB / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.869e-05/0.4316, allocations: 24.55 kB / 0.5375 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4316, allocations: 1.469 kB / 0.5375 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.296e-05/0.4316, allocations: 10.72 kB / 0.5375 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.4317, allocations: 10.19 kB / 0.5375 GB, free: 8.801 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 (10): * Single equations (assignments): 10 * 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.0001267/0.4318, allocations: 124.9 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.4318, allocations: 10.78 kB / 0.5376 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.4319, allocations: 22.64 kB / 0.5377 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4319, allocations: 2.031 kB / 0.5377 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4319, allocations: 4 kB / 0.5377 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4319, allocations: 3.938 kB / 0.5377 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.4324, allocations: 396.5 kB / 0.538 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4324, allocations: 1.062 kB / 0.538 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.4325, allocations: 11.55 kB / 0.5381 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4325, allocations: 1.375 kB / 0.5381 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.4325, allocations: 4.938 kB / 0.5381 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4325, allocations: 1.281 kB / 0.5381 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4325, allocations: 1.75 kB / 0.5381 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.4328, allocations: 204.7 kB / 0.5383 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.4329, allocations: 88.11 kB / 0.5383 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.4329, allocations: 13.66 kB / 0.5384 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.433, allocations: 6.906 kB / 0.5384 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.433, allocations: 7 kB / 0.5384 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.433, allocations: 7.672 kB / 0.5384 GB, free: 7.953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.4332, allocations: 168.8 kB / 0.5385 GB, free: 7.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4332, allocations: 0 / 0.5385 GB, free: 7.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000282/0.4335, allocations: 24.75 kB / 0.5386 GB, free: 7.832 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 (8): * Single equations (assignments): 6 * 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.001177/0.4347, allocations: 467 kB / 0.539 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.4349, allocations: 61.5 kB / 0.5391 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4349, allocations: 0 / 0.5391 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.256e-05/0.435, allocations: 33.3 kB / 0.5391 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.4354, allocations: 34.94 kB / 0.5391 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.436, allocations: 283.9 kB / 0.5394 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.4364, allocations: 0.708 MB / 0.5401 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.4364, allocations: 19.67 kB / 0.5401 GB, free: 6.586 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4365, allocations: 0 / 0.5401 GB, free: 6.586 MB / 398.1 MB Notification: Performance of Templates: time 0.005282/0.4417, allocations: 2.012 MB / 0.5421 GB, free: 5.543 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches