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.001349/0.001349, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001635/0.001635, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9368/0.9368, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] 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.2693/0.2693, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|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.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 378.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.747e-05, allocations: 7.016 kB / 378.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002208/0.002226, allocations: 1.99 MB / 380.8 MB, free: 8 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.003628, allocations: 1.179 MB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.003699, allocations: 7.938 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.004163, allocations: 207.3 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.004477, allocations: 207.1 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.004759, allocations: 171.4 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.004993, allocations: 267.2 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.057e-05/0.005064, allocations: 20.58 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.00519, allocations: 151.5 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.005291, allocations: 103.7 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.00531, allocations: 12 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.83e-05/0.005409, allocations: 59.89 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.005468, allocations: 59.77 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.005545, allocations: 43.84 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.005736, allocations: 187.3 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.005738, allocations: 0 / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.005738, allocations: 0 / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.005743, allocations: 0 / 383.5 MB, free: 13.36 MB / 362.7 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.0004936/0.006236, allocations: 0.5905 MB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.006266, allocations: 15.97 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.00632, allocations: 28.75 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.0066, allocations: 233.4 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.006619, allocations: 8.375 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.006631, allocations: 8.359 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.006763, allocations: 93.58 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.00677, allocations: 192 / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.00678, allocations: 4.359 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.006787, allocations: 3.938 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.52e-05/0.006832, allocations: 27.92 kB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.007143, allocations: 367.4 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.007281, allocations: 98.22 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.007325, allocations: 35.36 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.007338, allocations: 7.938 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.00746, allocations: 120.2 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.123e-06/0.007461, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002301/0.007691, allocations: 153.4 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.007718, allocations: 77.11 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.007931, allocations: 342.3 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.007947, allocations: 33.7 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.008148, allocations: 190.8 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.008174, allocations: 27.8 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.008212, allocations: 39.36 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.008329, allocations: 0.5079 MB / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.308e-05/0.008363, allocations: 19.98 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.728e-05/0.00842, allocations: 88.12 kB / 386.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.518e-05/0.008495, allocations: 83.2 kB / 386.6 MB, free: 9.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008497, allocations: 4 kB / 386.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001288/0.008626, allocations: 133.3 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.008636, allocations: 4 kB / 386.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.00864, allocations: 4 kB / 386.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.008654, allocations: 0 / 386.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.192e-05/0.008726, allocations: 23.98 kB / 386.8 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.00873, allocations: 4.062 kB / 386.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/0.008772, allocations: 15.89 kB / 386.8 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.008779, allocations: 4 kB / 386.8 MB, free: 9.703 MB / 362.7 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 7.591e-05/0.008855, allocations: 176.5 kB / 387 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.00888, allocations: 27.8 kB / 387 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.009041, allocations: 143.5 kB / 387.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.009044, allocations: 4 kB / 387.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.009047, allocations: 0 / 387.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.009051, allocations: 3.984 kB / 387.2 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.009175, allocations: 204.5 kB / 387.4 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.009176, allocations: 4 kB / 387.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.009199, allocations: 8 kB / 387.4 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.009202, allocations: 3.938 kB / 387.4 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.00921, allocations: 4 kB / 387.4 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.009215, allocations: 0 / 387.4 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.009218, allocations: 4.172 kB / 387.4 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.009364, allocations: 195.1 kB / 387.6 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.009387, allocations: 31.73 kB / 387.6 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.009409, allocations: 7.938 kB / 387.6 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.418e-05/0.009443, allocations: 7.984 kB / 387.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.009479, allocations: 23.97 kB / 387.7 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.00949, allocations: 4 kB / 387.7 MB, free: 8.793 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.00962, allocations: 239 kB / 387.9 MB, free: 8.559 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00962, allocations: 0 / 387.9 MB, free: 8.559 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001592/0.009779, allocations: 40 kB / 387.9 MB, free: 8.52 MB / 362.7 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.0007449/0.01052, allocations: 387.1 kB / 388.3 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.01066, allocations: 71.59 kB / 388.4 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.01066, allocations: 0 / 388.4 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.996e-05/0.01071, allocations: 47.59 kB / 388.4 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.01093, allocations: 70.69 kB / 388.5 MB, free: 8.059 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.01132, allocations: 370.6 kB / 388.9 MB, free: 7.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.01137, allocations: 83.97 kB / 388.9 MB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.441e-05/0.01142, allocations: 29.92 kB / 389 MB, free: 7.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.01146, allocations: 28.5 kB / 389 MB, free: 7.508 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01146, allocations: 0 / 389 MB, free: 7.508 MB / 362.7 MB Notification: Performance of Templates: time 0.004888/0.01635, allocations: 3.473 MB / 392.5 MB, free: 4.082 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2641646889969707]