Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.001429/0.001429, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001371/0.001371, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.403/1.403, allocations: 230.5 MB / 258.2 MB, free: 7.809 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.2961/0.2961, allocations: 46.94 MB / 361.6 MB, free: 3.949 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 75.88 kB / 0.497 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3155, allocations: 66.09 MB / 0.5615 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003164/0.3187, allocations: 1.718 MB / 0.5632 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.3204, allocations: 0.9709 MB / 0.5641 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.3205, allocations: 0 / 0.5641 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.3208, allocations: 55.75 kB / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.3211, allocations: 107.5 kB / 0.5643 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.3213, allocations: 75.73 kB / 0.5644 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.3215, allocations: 131.6 kB / 0.5645 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.195e-05/0.3216, allocations: 17.73 kB / 0.5645 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.984e-05/0.3217, allocations: 59.7 kB / 0.5646 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.3218, allocations: 47.83 kB / 0.5646 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.3218, allocations: 8 kB / 0.5646 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.3219, allocations: 63.97 kB / 0.5647 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.322, allocations: 35.8 kB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.322, allocations: 39.78 kB / 0.5647 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.3223, allocations: 147.4 kB / 0.5649 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3223, allocations: 0 / 0.5649 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3223, allocations: 0 / 0.5649 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.3223, allocations: 0 / 0.5649 GB, free: 0.5469 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005371/0.3228, allocations: 369.4 kB / 0.5652 GB, free: 160 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3228, allocations: 12.03 kB / 0.5653 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.296e-05/0.3228, allocations: 192 / 0.5653 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.3229, allocations: 34.75 kB / 0.5653 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.3229, allocations: 20.78 kB / 0.5653 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.3232, allocations: 174.2 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3232, allocations: 384 / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.3233, allocations: 8.375 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3234, allocations: 81.59 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3235, allocations: 4 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3235, allocations: 3.984 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3235, allocations: 0 / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.3236, allocations: 55.89 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.324, allocations: 291.9 kB / 0.5659 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.3243, allocations: 94.55 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.69e-05/0.3244, allocations: 32.84 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.3244, allocations: 0 / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.3246, allocations: 83.38 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3246, allocations: 0 / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008561/0.3254, allocations: 321 kB / 0.5664 GB, free: 14.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.3255, allocations: 55.41 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.3257, allocations: 214.1 kB / 0.5667 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3257, allocations: 33.7 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.3258, allocations: 108.3 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.3258, allocations: 43.64 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.3259, allocations: 29.72 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.326, allocations: 330.8 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/0.3261, allocations: 35.98 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.3262, allocations: 63.66 kB / 0.5673 GB, free: 13.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.3264, allocations: 105 kB / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3264, allocations: 0 / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002769/0.3267, allocations: 169.5 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.3267, allocations: 4 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.3267, allocations: 0 / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3267, allocations: 7.938 kB / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.3268, allocations: 23.98 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.3268, allocations: 3.938 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.3269, allocations: 4 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.3269, allocations: 15.97 kB / 0.5676 GB, free: 13.57 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 (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.0001151/0.327, allocations: 127.1 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.327, allocations: 19.94 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.3274, allocations: 193.5 kB / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3274, allocations: 4 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3274, allocations: 4.781 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3274, allocations: 0 / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006466/0.3281, allocations: 483.3 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3281, allocations: 3.938 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.512e-05/0.3281, allocations: 23.98 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3282, allocations: 4 kB / 0.5684 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3282, allocations: 12.06 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3282, allocations: 0 / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3282, allocations: 0 / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.3285, allocations: 284.9 kB / 0.5687 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.3285, allocations: 19.84 kB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.3286, allocations: 4 kB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.461e-05/0.3287, allocations: 11.98 kB / 0.5687 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.3287, allocations: 7.984 kB / 0.5687 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.3287, allocations: 8 kB / 0.5688 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.3289, allocations: 156.3 kB / 0.5689 GB, free: 12.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3289, allocations: 4 kB / 0.5689 GB, free: 12.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.3291, allocations: 35.92 kB / 0.5689 GB, free: 12.1 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.00254/0.3317, allocations: 1.243 MB / 0.5702 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.3319, allocations: 107.9 kB / 0.5703 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3319, allocations: 0 / 0.5703 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.332, allocations: 55.91 kB / 0.5703 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.3324, allocations: 50.69 kB / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.3346, allocations: 1.909 MB / 0.5722 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.3347, allocations: 106.2 kB / 0.5723 GB, free: 8.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.415e-05/0.3348, allocations: 33.41 kB / 0.5724 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.665e-05/0.3349, allocations: 47.42 kB / 0.5724 GB, free: 8.602 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3349, allocations: 0 / 0.5724 GB, free: 8.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.359, allocations: 4.524 MB / 0.5768 GB, free: 4.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.07, allocations: 14.3 kB / 0.5768 GB, free: 4.109 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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: 14.121968119987287]