Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001199, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.001411, allocations: 200.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2373/0.2373, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 79.88 kB / 482.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3841, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00334/0.3875, allocations: 1.736 MB / 0.5334 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3893, allocations: 1.017 MB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.3894, allocations: 0 / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.3898, allocations: 55.66 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.3901, allocations: 97.44 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.3903, allocations: 82.84 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.3905, allocations: 102.1 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3907, allocations: 14.38 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3908, allocations: 44.31 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.091e-05/0.3909, allocations: 35.12 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3909, allocations: 2.562 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.391, allocations: 39.92 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.3911, allocations: 33.47 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.3911, allocations: 35.94 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.3914, allocations: 130.2 kB / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3914, allocations: 0 / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.3914, allocations: 0 / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3914, allocations: 9.312 kB / 0.5351 GB, free: 11 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.000604/0.392, allocations: 425.6 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.392, allocations: 9.625 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.3921, allocations: 14.28 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.3924, allocations: 223.4 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.3924, allocations: 5.75 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.3925, allocations: 6.875 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3926, allocations: 54.05 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3927, allocations: 4 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.3927, allocations: 0 / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3927, allocations: 5.359 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.3928, allocations: 18.98 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.3932, allocations: 297.5 kB / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.3934, allocations: 53.88 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.3934, allocations: 25.09 kB / 0.5362 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3934, allocations: 1.375 kB / 0.5362 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.3936, allocations: 69.14 kB / 0.5362 GB, free: 9.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3936, allocations: 0 / 0.5362 GB, free: 9.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005672/0.3942, allocations: 186.8 kB / 0.5364 GB, free: 9.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3942, allocations: 52.5 kB / 0.5365 GB, free: 9.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.3945, allocations: 241.1 kB / 0.5367 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3945, allocations: 30.77 kB / 0.5367 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.3946, allocations: 105.6 kB / 0.5368 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.3946, allocations: 23.58 kB / 0.5368 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.3947, allocations: 28.34 kB / 0.5369 GB, free: 9.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3948, allocations: 327.4 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.125e-05/0.3949, allocations: 22.64 kB / 0.5372 GB, free: 8.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.395, allocations: 40.08 kB / 0.5372 GB, free: 8.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.3951, allocations: 54.58 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3951, allocations: 1.281 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001878/0.3953, allocations: 103.4 kB / 0.5374 GB, free: 8.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3953, allocations: 5.469 kB / 0.5374 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3953, allocations: 1.125 kB / 0.5374 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3954, allocations: 1.062 kB / 0.5374 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3955, allocations: 20.64 kB / 0.5374 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.3955, allocations: 4.938 kB / 0.5374 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.3955, allocations: 10.03 kB / 0.5374 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3956, allocations: 7.312 kB / 0.5374 GB, free: 8.797 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.000103/0.3957, allocations: 126.3 kB / 0.5376 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.3957, allocations: 9.906 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.39e-05/0.3958, allocations: 24.36 kB / 0.5376 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3958, allocations: 5.031 kB / 0.5376 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3958, allocations: 4 kB / 0.5376 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3958, allocations: 5.125 kB / 0.5376 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.3963, allocations: 405.3 kB / 0.538 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3963, allocations: 0 / 0.538 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.3963, allocations: 7.875 kB / 0.538 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3963, allocations: 1.188 kB / 0.538 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3963, allocations: 5.094 kB / 0.538 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3964, allocations: 1.188 kB / 0.538 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3964, allocations: 1.219 kB / 0.538 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.3966, allocations: 214 kB / 0.5382 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.3967, allocations: 88.27 kB / 0.5383 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.3967, allocations: 5.031 kB / 0.5383 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.3968, allocations: 13.78 kB / 0.5383 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.3968, allocations: 8.578 kB / 0.5383 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.3969, allocations: 2.875 kB / 0.5383 GB, free: 7.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.397, allocations: 182 kB / 0.5385 GB, free: 7.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.397, allocations: 0 / 0.5385 GB, free: 7.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.3973, allocations: 24.81 kB / 0.5385 GB, free: 7.809 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.001105/0.3984, allocations: 448.3 kB / 0.539 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.3986, allocations: 62.34 kB / 0.539 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3986, allocations: 0 / 0.539 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.3987, allocations: 29.77 kB / 0.539 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.3991, allocations: 39.23 kB / 0.5391 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/0.3996, allocations: 293.6 kB / 0.5394 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.4, allocations: 0.7099 MB / 0.5401 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.4, allocations: 19.39 kB / 0.5401 GB, free: 6.574 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4, allocations: 3.938 kB / 0.5401 GB, free: 6.57 MB / 398.1 MB Notification: Performance of Templates: time 0.00432/0.4043, allocations: 2.038 MB / 0.5421 GB, free: 5.508 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches