Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2252/0.2252, allocations: 46.93 MB / 360.9 MB, free: 4.25 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 67.89 kB / 0.4962 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3329, allocations: 66.04 MB / 0.5607 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003386/0.3363, allocations: 1.842 MB / 0.5625 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.3393, allocations: 1.808 MB / 0.5643 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.3394, allocations: 3.938 kB / 0.5643 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.3398, allocations: 51.7 kB / 0.5643 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.3402, allocations: 143.4 kB / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.3404, allocations: 107.6 kB / 0.5646 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.3407, allocations: 211.3 kB / 0.5648 GB, free: 264 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/0.3408, allocations: 13.8 kB / 0.5648 GB, free: 248 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.3409, allocations: 87.58 kB / 0.5649 GB, free: 160 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.3412, allocations: 83.66 kB / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.3412, allocations: 8 kB / 0.5649 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.3415, allocations: 123.8 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.793e-05/0.3416, allocations: 31.91 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.3417, allocations: 75.53 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004133/0.3421, allocations: 224.9 kB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3421, allocations: 0 / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.979e-06/0.3421, allocations: 3.984 kB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3421, allocations: 0 / 0.5654 GB, free: 15.62 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007324/0.3429, allocations: 424.9 kB / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3429, allocations: 12.03 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.839e-05/0.343, allocations: 38.73 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.343, allocations: 20.78 kB / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.3434, allocations: 194.2 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3434, allocations: 4.375 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.3435, allocations: 7.938 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.3437, allocations: 97.03 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3437, allocations: 3.984 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3437, allocations: 0 / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3437, allocations: 4 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.3438, allocations: 27.98 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.3441, allocations: 189.6 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.3444, allocations: 113.1 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.014e-05/0.3445, allocations: 33.7 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.3445, allocations: 7.984 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.3447, allocations: 105 kB / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3447, allocations: 4 kB / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004662/0.3452, allocations: 165.9 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.954e-05/0.3453, allocations: 132.5 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.3456, allocations: 236.1 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.3456, allocations: 33.7 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.3457, allocations: 112.1 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.3457, allocations: 39.72 kB / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.3458, allocations: 37.64 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3459, allocations: 326.8 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.164e-05/0.346, allocations: 27.98 kB / 0.5677 GB, free: 13.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.3461, allocations: 77.06 kB / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.3463, allocations: 91.52 kB / 0.5678 GB, free: 12.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3463, allocations: 3.938 kB / 0.5678 GB, free: 12.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002816/0.3466, allocations: 137.4 kB / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3466, allocations: 8 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3466, allocations: 0 / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3467, allocations: 0 / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3468, allocations: 20.06 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.3468, allocations: 11.92 kB / 0.568 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.478e-05/0.3469, allocations: 11.95 kB / 0.568 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.3469, allocations: 7.938 kB / 0.568 GB, free: 12.63 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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.000132/0.347, allocations: 138.3 kB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.347, allocations: 15.91 kB / 0.5682 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.3474, allocations: 146.7 kB / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3474, allocations: 7.984 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3474, allocations: 4.25 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3474, allocations: 0 / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.3476, allocations: 212.5 kB / 0.5685 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3476, allocations: 0 / 0.5685 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.3477, allocations: 8 kB / 0.5685 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3477, allocations: 0 / 0.5685 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3477, allocations: 0 / 0.5685 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.3477, allocations: 4 kB / 0.5685 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3477, allocations: 0 / 0.5685 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.348, allocations: 177.7 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.348, allocations: 11.91 kB / 0.5687 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.3481, allocations: 4 kB / 0.5687 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.3481, allocations: 11.98 kB / 0.5687 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.3482, allocations: 11.92 kB / 0.5687 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3482, allocations: 4 kB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.3484, allocations: 173.8 kB / 0.5689 GB, free: 11.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3484, allocations: 4 kB / 0.5689 GB, free: 11.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.3487, allocations: 59.86 kB / 0.569 GB, free: 11.57 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002434/0.3512, allocations: 1.104 MB / 0.5701 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.3514, allocations: 79.89 kB / 0.5701 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3514, allocations: 7.938 kB / 0.5701 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3515, allocations: 36.3 kB / 0.5702 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.3519, allocations: 54.44 kB / 0.5702 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.3544, allocations: 1.896 MB / 0.5721 GB, free: 8.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3548, allocations: 0.7203 MB / 0.5728 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.697e-05/0.3549, allocations: 29.61 kB / 0.5728 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.355, allocations: 55.41 kB / 0.5729 GB, free: 7.625 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.355, allocations: 0 / 0.5729 GB, free: 7.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04818/0.4032, allocations: 5.521 MB / 0.5783 GB, free: 2.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.43, allocations: 3.875 kB / 0.5783 GB, free: 2.156 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.354179318994284]