Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001516/0.001516, allocations: 213.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2592/0.2592, allocations: 46.95 MB / 360.8 MB, free: 3.953 MB / 286.1 MB " [Timeout remaining time 179] 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002678/0.002678, allocations: 88.09 kB / 0.4967 GB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3759, allocations: 66.09 MB / 0.5612 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004034/0.3799, allocations: 1.928 MB / 0.5631 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.3823, allocations: 1.135 MB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.3824, allocations: 7.938 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008276/0.3832, allocations: 199.4 kB / 0.5644 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005344/0.3838, allocations: 207.2 kB / 0.5646 GB, free: 500 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.3842, allocations: 167 kB / 0.5648 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.3846, allocations: 271.2 kB / 0.565 GB, free: 64 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.3847, allocations: 16.58 kB / 0.5651 GB, free: 44 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.3849, allocations: 111.6 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.3851, allocations: 119.4 kB / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.3851, allocations: 12 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.3853, allocations: 59.97 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3854, allocations: 59.75 kB / 0.5654 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.3855, allocations: 67.55 kB / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.3859, allocations: 249.4 kB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.3859, allocations: 3.984 kB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3859, allocations: 0 / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.3859, allocations: 0 / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001039/0.387, allocations: 0.4905 MB / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.387, allocations: 8.031 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.73e-05/0.3871, allocations: 28.78 kB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.3875, allocations: 226.6 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.3875, allocations: 4.375 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.3875, allocations: 8.375 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.3878, allocations: 103.6 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3878, allocations: 0 / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3878, allocations: 7.938 kB / 0.5666 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.3878, allocations: 7.938 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.388, allocations: 39.97 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.3885, allocations: 325.2 kB / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.3888, allocations: 125.2 kB / 0.567 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3889, allocations: 41.69 kB / 0.5671 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.3889, allocations: 4 kB / 0.5671 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.3892, allocations: 117.1 kB / 0.5672 GB, free: 13.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.3892, allocations: 0 / 0.5672 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004953/0.3897, allocations: 189.9 kB / 0.5674 GB, free: 13.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.3897, allocations: 81.09 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.3901, allocations: 368.5 kB / 0.5678 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.3902, allocations: 25.7 kB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.3903, allocations: 136.1 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.3903, allocations: 35.73 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.3904, allocations: 29.7 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3906, allocations: 342.8 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.895e-05/0.3907, allocations: 35.98 kB / 0.5684 GB, free: 12.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.3908, allocations: 94.03 kB / 0.5685 GB, free: 12.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.391, allocations: 111.3 kB / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.391, allocations: 0 / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002918/0.3913, allocations: 153.5 kB / 0.5687 GB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3913, allocations: 4 kB / 0.5687 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3913, allocations: 4 kB / 0.5687 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3914, allocations: 0 / 0.5687 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3915, allocations: 23.92 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3915, allocations: 4 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/0.3916, allocations: 12.02 kB / 0.5688 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.3916, allocations: 8 kB / 0.5688 GB, free: 12 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001716/0.3918, allocations: 169.6 kB / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.3918, allocations: 27.81 kB / 0.569 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.3922, allocations: 175.7 kB / 0.5691 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3922, allocations: 0 / 0.5691 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.3922, allocations: 4 kB / 0.5691 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3922, allocations: 0 / 0.5691 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.3924, allocations: 189.2 kB / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3924, allocations: 4 kB / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.546e-05/0.3925, allocations: 15.94 kB / 0.5693 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3925, allocations: 0 / 0.5693 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3925, allocations: 4 kB / 0.5693 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3925, allocations: 0 / 0.5693 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3925, allocations: 0 / 0.5693 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.3929, allocations: 205.7 kB / 0.5695 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.3929, allocations: 27.78 kB / 0.5696 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.393, allocations: 4 kB / 0.5696 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.393, allocations: 7.984 kB / 0.5696 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/0.3931, allocations: 11.98 kB / 0.5696 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.3931, allocations: 12 kB / 0.5696 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003402/0.3935, allocations: 267 kB / 0.5698 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3935, allocations: 0 / 0.5698 GB, free: 10.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.3937, allocations: 39.94 kB / 0.5699 GB, free: 10.78 MB / 414.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001858/0.3956, allocations: 445.9 kB / 0.5703 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003129/0.3959, allocations: 91.89 kB / 0.5704 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3959, allocations: 0 / 0.5704 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.3961, allocations: 60.03 kB / 0.5704 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.3965, allocations: 71.2 kB / 0.5705 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007636/0.3972, allocations: 400.3 kB / 0.5709 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.3974, allocations: 144.8 kB / 0.571 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.3975, allocations: 34.08 kB / 0.5711 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.3975, allocations: 23.42 kB / 0.5711 GB, free: 9.637 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3975, allocations: 0 / 0.5711 GB, free: 9.637 MB / 414.1 MB Notification: Performance of Templates: time 0.008608/0.4061, allocations: 3.379 MB / 0.5744 GB, free: 6.289 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.47260270267725]