Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001315/0.001315, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001514/0.001514, allocations: 212.5 kB / 25.13 MB, free: 3.582 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.5/1.5, allocations: 230.4 MB / 258.7 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2501/0.2501, allocations: 46.93 MB / 362 MB, free: 4.223 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 83.86 kB / 0.4979 GB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3385, allocations: 66.08 MB / 0.5624 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.00352/0.342, allocations: 1.98 MB / 0.5643 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.3441, allocations: 1.213 MB / 0.5655 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.3442, allocations: 7.938 kB / 0.5655 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006784/0.3449, allocations: 203.3 kB / 0.5657 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.3453, allocations: 211.3 kB / 0.5659 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.3457, allocations: 167.5 kB / 0.5661 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.3461, allocations: 271.2 kB / 0.5663 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3462, allocations: 20.53 kB / 0.5663 GB, free: 176 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.3463, allocations: 119.5 kB / 0.5665 GB, free: 56 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.3465, allocations: 123.4 kB / 0.5666 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.3466, allocations: 8 kB / 0.5666 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.3467, allocations: 67.95 kB / 0.5666 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.251e-05/0.3468, allocations: 47.83 kB / 0.5667 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.3469, allocations: 91.36 kB / 0.5668 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.3472, allocations: 249.3 kB / 0.567 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3472, allocations: 4 kB / 0.567 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3472, allocations: 0 / 0.567 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3472, allocations: 0 / 0.567 GB, free: 15.48 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.0007953/0.348, allocations: 0.4905 MB / 0.5675 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.3481, allocations: 8.031 kB / 0.5675 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.583e-05/0.3481, allocations: 32.73 kB / 0.5675 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.3485, allocations: 226.6 kB / 0.5678 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3485, allocations: 4.375 kB / 0.5678 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.3485, allocations: 8.375 kB / 0.5678 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.3488, allocations: 134.2 kB / 0.5679 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3488, allocations: 3.938 kB / 0.5679 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.3488, allocations: 11.98 kB / 0.5679 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3488, allocations: 0 / 0.5679 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.3489, allocations: 31.98 kB / 0.5679 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.3494, allocations: 364.6 kB / 0.5683 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.3497, allocations: 113.2 kB / 0.5684 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3498, allocations: 45.7 kB / 0.5684 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.3498, allocations: 0 / 0.5684 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.3501, allocations: 113 kB / 0.5685 GB, free: 13.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.3501, allocations: 0 / 0.5685 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004961/0.3506, allocations: 189.4 kB / 0.5687 GB, free: 13.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/0.3506, allocations: 106.8 kB / 0.5688 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.351, allocations: 352.5 kB / 0.5692 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3511, allocations: 25.7 kB / 0.5692 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3512, allocations: 144.1 kB / 0.5693 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.3512, allocations: 35.73 kB / 0.5694 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.3513, allocations: 25.72 kB / 0.5694 GB, free: 12.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3514, allocations: 346.7 kB / 0.5697 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.385e-05/0.3515, allocations: 35.98 kB / 0.5697 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.3517, allocations: 126.9 kB / 0.5699 GB, free: 12.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.3519, allocations: 99.39 kB / 0.57 GB, free: 12.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3519, allocations: 0 / 0.57 GB, free: 12.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002827/0.3522, allocations: 146 kB / 0.5701 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3522, allocations: 4 kB / 0.5701 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3522, allocations: 11.92 kB / 0.5701 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3522, allocations: 0 / 0.5701 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3523, allocations: 16 kB / 0.5701 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3523, allocations: 8 kB / 0.5701 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.084e-05/0.3524, allocations: 27.94 kB / 0.5702 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3524, allocations: 4 kB / 0.5702 GB, free: 11.97 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.0001586/0.3526, allocations: 157.7 kB / 0.5703 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.3526, allocations: 27.81 kB / 0.5703 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.353, allocations: 159.4 kB / 0.5705 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.353, allocations: 0 / 0.5705 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.353, allocations: 4 kB / 0.5705 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.353, allocations: 0 / 0.5705 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.3532, allocations: 236.6 kB / 0.5707 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3532, allocations: 0 / 0.5707 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.3533, allocations: 11.98 kB / 0.5707 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3533, allocations: 0 / 0.5707 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3533, allocations: 4 kB / 0.5707 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3533, allocations: 4 kB / 0.5707 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3533, allocations: 0 / 0.5707 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.3536, allocations: 185.6 kB / 0.5709 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.3536, allocations: 35.72 kB / 0.571 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.726e-05/0.3537, allocations: 4 kB / 0.571 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.3537, allocations: 4 kB / 0.571 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.3538, allocations: 15.97 kB / 0.571 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3538, allocations: 4.125 kB / 0.571 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002957/0.3541, allocations: 263 kB / 0.5712 GB, free: 10.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3541, allocations: 0 / 0.5712 GB, free: 10.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.3544, allocations: 32 kB / 0.5713 GB, free: 10.76 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 (11): * Single equations (assignments): 7 * 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.001493/0.3559, allocations: 433.8 kB / 0.5717 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.3561, allocations: 79.91 kB / 0.5718 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3561, allocations: 4 kB / 0.5718 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.3563, allocations: 44.34 kB / 0.5718 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.0004115/0.3567, allocations: 79.3 kB / 0.5719 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007658/0.3574, allocations: 400.4 kB / 0.5723 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.3578, allocations: 0.744 MB / 0.573 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.3579, allocations: 37.92 kB / 0.573 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.358, allocations: 23.44 kB / 0.573 GB, free: 9.02 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.358, allocations: 0 / 0.573 GB, free: 9.02 MB / 414.1 MB Notification: Performance of Templates: time 0.007207/0.3652, allocations: 3.096 MB / 0.5761 GB, free: 5.934 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.186442155158147]