Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, 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.001228/0.001229, 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.511/1.511, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.11 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 80.38 kB / 482.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3308, allocations: 62.44 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003098/0.3339, allocations: 1.732 MB / 0.5334 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.3356, allocations: 1.017 MB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.3357, allocations: 5.594 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.336, allocations: 44.2 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.3363, allocations: 92.05 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.3366, allocations: 83.41 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.3368, allocations: 101.9 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3369, allocations: 18.86 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.691e-05/0.337, allocations: 42.91 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.067e-05/0.337, allocations: 30.8 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.3371, allocations: 4.125 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.3372, allocations: 43.47 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.3372, allocations: 24.11 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.797e-05/0.3373, allocations: 36 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.3375, allocations: 130 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3375, allocations: 1.375 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3375, allocations: 0 / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3376, allocations: 4 kB / 0.5351 GB, free: 11.07 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.0005168/0.3381, allocations: 416.4 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3381, allocations: 9.625 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.3382, allocations: 14.25 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.3385, allocations: 224.5 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.3385, allocations: 1.75 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.3385, allocations: 6.875 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.3387, allocations: 54.05 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3387, allocations: 4 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3387, allocations: 0 / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3387, allocations: 1.375 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.638e-05/0.3388, allocations: 18.98 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.3392, allocations: 290.8 kB / 0.5361 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.3393, allocations: 57.86 kB / 0.5361 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.3394, allocations: 30.45 kB / 0.5361 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.3394, allocations: 0 / 0.5361 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.3396, allocations: 69.08 kB / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3396, allocations: 1.375 kB / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005276/0.3401, allocations: 181.8 kB / 0.5364 GB, free: 9.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.3402, allocations: 52.53 kB / 0.5364 GB, free: 9.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.3404, allocations: 208.3 kB / 0.5366 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3404, allocations: 26.77 kB / 0.5367 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.3405, allocations: 105.2 kB / 0.5368 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.3405, allocations: 31.48 kB / 0.5368 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.3406, allocations: 20.47 kB / 0.5368 GB, free: 9.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3407, allocations: 330.3 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.823e-05/0.3407, allocations: 19.64 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.7e-05/0.3408, allocations: 39.14 kB / 0.5372 GB, free: 9.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.3409, allocations: 54.84 kB / 0.5372 GB, free: 8.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.341, allocations: 1.25 kB / 0.5372 GB, free: 8.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001921/0.3412, allocations: 107.7 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3412, allocations: 4.562 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3412, allocations: 1.094 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3412, allocations: 1.125 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.935e-05/0.3413, allocations: 24.64 kB / 0.5374 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3413, allocations: 5.469 kB / 0.5374 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.3414, allocations: 6.281 kB / 0.5374 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3414, allocations: 2.281 kB / 0.5374 GB, free: 8.895 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.0001005/0.3415, allocations: 128.1 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.3415, allocations: 14.28 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.3416, allocations: 15.19 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3416, allocations: 1.156 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3416, allocations: 4 kB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3416, allocations: 5.156 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.342, allocations: 399 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.342, allocations: 1.062 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.3421, allocations: 6.875 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3421, allocations: 1.156 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.3421, allocations: 10.52 kB / 0.5379 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3421, allocations: 0 / 0.5379 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3421, allocations: 5.156 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.3423, allocations: 213.3 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.3424, allocations: 87.08 kB / 0.5382 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.3424, allocations: 10.22 kB / 0.5382 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.056e-05/0.3425, allocations: 2.406 kB / 0.5382 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.3426, allocations: 7.453 kB / 0.5382 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.3426, allocations: 3.406 kB / 0.5382 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.3427, allocations: 165.8 kB / 0.5384 GB, free: 7.926 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3427, allocations: 1.031 kB / 0.5384 GB, free: 7.926 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.343, allocations: 24.95 kB / 0.5384 GB, free: 7.918 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.001023/0.344, allocations: 455.6 kB / 0.5389 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.3442, allocations: 62.3 kB / 0.5389 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3442, allocations: 0 / 0.5389 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.102e-05/0.3443, allocations: 29.86 kB / 0.5389 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.3447, allocations: 36.19 kB / 0.539 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.3452, allocations: 261.3 kB / 0.5392 GB, free: 7.414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.3454, allocations: 0.7038 MB / 0.5399 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.3455, allocations: 19.02 kB / 0.5399 GB, free: 6.699 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3455, allocations: 0 / 0.5399 GB, free: 6.699 MB / 398.1 MB Notification: Performance of Templates: time 0.003851/0.3493, allocations: 2.002 MB / 0.5419 GB, free: 5.66 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches