Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.00176/0.00176, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001504/0.001504, allocations: 206.3 kB / 23.72 MB, free: 4.391 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.39/1.39, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2189/0.2189, allocations: 46.94 MB / 360.8 MB, free: 3.922 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 83.86 kB / 0.4962 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2948, allocations: 66.09 MB / 0.5608 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003137/0.298, allocations: 1.702 MB / 0.5624 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.2997, allocations: 0.9709 MB / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.2998, allocations: 0 / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.3001, allocations: 87.69 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.3004, allocations: 115.6 kB / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.3006, allocations: 79.67 kB / 0.5636 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.3007, allocations: 123.6 kB / 0.5638 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.876e-05/0.3008, allocations: 5.828 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.763e-05/0.3009, allocations: 55.77 kB / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.301, allocations: 67.73 kB / 0.5639 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.301, allocations: 4 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-05/0.3011, allocations: 47.98 kB / 0.5639 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.3012, allocations: 23.92 kB / 0.564 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.3012, allocations: 23.81 kB / 0.564 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.3014, allocations: 127.4 kB / 0.5641 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3014, allocations: 4 kB / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3014, allocations: 0 / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.3015, allocations: 0 / 0.5641 GB, free: 0.543 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.0005415/0.302, allocations: 353.5 kB / 0.5644 GB, free: 172 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.302, allocations: 8.031 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.377e-05/0.3021, allocations: 38.75 kB / 0.5645 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.3021, allocations: 12.84 kB / 0.5645 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.3024, allocations: 154.3 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3024, allocations: 12.31 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.3024, allocations: 4.359 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.3026, allocations: 61.73 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3026, allocations: 0 / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.3026, allocations: 4 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3026, allocations: 0 / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.628e-05/0.3027, allocations: 19.98 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.3031, allocations: 267.9 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.3032, allocations: 66.61 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.3033, allocations: 24.78 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.3033, allocations: 0 / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.3035, allocations: 67.39 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3035, allocations: 0 / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005266/0.304, allocations: 181.3 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.304, allocations: 55.41 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.3043, allocations: 227.5 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3043, allocations: 33.7 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.3044, allocations: 108.1 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.3044, allocations: 27.78 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.3044, allocations: 17.72 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3046, allocations: 330.8 kB / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.949e-05/0.3046, allocations: 23.98 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.3047, allocations: 41.64 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.3048, allocations: 61.69 kB / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3048, allocations: 0 / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.305, allocations: 117.6 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.305, allocations: 4 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.305, allocations: 0 / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3051, allocations: 4 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-05/0.3051, allocations: 12 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.3051, allocations: 0 / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.3052, allocations: 11.98 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.3052, allocations: 0 / 0.5664 GB, free: 14.02 MB / 414.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.0001083/0.3053, allocations: 131.3 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.3053, allocations: 19.89 kB / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.3056, allocations: 127 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3056, allocations: 7.938 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3056, allocations: 0 / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3056, allocations: 0 / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.3061, allocations: 374.6 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3061, allocations: 0 / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.3061, allocations: 20.34 kB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3061, allocations: 3.938 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3061, allocations: 4 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3061, allocations: 7.969 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3061, allocations: 4 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.3064, allocations: 212.2 kB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.3064, allocations: 19.89 kB / 0.5672 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.3064, allocations: 0 / 0.5672 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.3065, allocations: 7.938 kB / 0.5672 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.3065, allocations: 3.984 kB / 0.5673 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.3066, allocations: 8 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.3067, allocations: 169.2 kB / 0.5674 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3067, allocations: 0 / 0.5674 GB, free: 12.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.307, allocations: 31.92 kB / 0.5675 GB, free: 12.8 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: 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 (9): * Single equations (assignments): 7 * 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.002191/0.3092, allocations: 1.125 MB / 0.5686 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.3093, allocations: 63.92 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3093, allocations: 0 / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.3094, allocations: 31.92 kB / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.3098, allocations: 40.02 kB / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.3116, allocations: 1.704 MB / 0.5703 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.917e-05/0.3117, allocations: 108.7 kB / 0.5704 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.669e-05/0.3118, allocations: 12.97 kB / 0.5705 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.3118, allocations: 39.42 kB / 0.5705 GB, free: 9.727 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3118, allocations: 0 / 0.5705 GB, free: 9.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.3396, allocations: 4.253 MB / 0.5747 GB, free: 5.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.92, allocations: 7.438 kB / 0.5747 GB, free: 5.496 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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: 13.725859726779163]