Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001318/0.001318, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.00157/0.00157, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.449/1.449, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.2255/0.2255, allocations: 46.93 MB / 360.8 MB, free: 4.164 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.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 75.88 kB / 0.4963 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3082, allocations: 66.08 MB / 0.5608 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00336/0.3116, allocations: 1.94 MB / 0.5627 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3135, allocations: 1.15 MB / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.3136, allocations: 11.88 kB / 0.5638 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.314, allocations: 155.5 kB / 0.564 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004149/0.3144, allocations: 187.3 kB / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.3147, allocations: 123.5 kB / 0.5643 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.315, allocations: 243.3 kB / 0.5645 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3151, allocations: 19.8 kB / 0.5645 GB, free: 444 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.3153, allocations: 115.5 kB / 0.5646 GB, free: 328 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.3155, allocations: 151.5 kB / 0.5648 GB, free: 176 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.3155, allocations: 12 kB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3156, allocations: 59.97 kB / 0.5649 GB, free: 104 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.244e-05/0.3157, allocations: 55.78 kB / 0.5649 GB, free: 48 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/0.3158, allocations: 87.28 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.3161, allocations: 219 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3161, allocations: 0 / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3161, allocations: 0 / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3161, allocations: 0 / 0.5652 GB, free: 15.75 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007138/0.3168, allocations: 496.4 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3169, allocations: 8.031 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.3169, allocations: 42.73 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.317, allocations: 32.75 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.3173, allocations: 214.6 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3173, allocations: 8.359 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.3174, allocations: 8.375 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.3176, allocations: 125.6 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3176, allocations: 0 / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3176, allocations: 4 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3176, allocations: 0 / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.3178, allocations: 43.97 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.3183, allocations: 439.8 kB / 0.5666 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.3187, allocations: 121.1 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3188, allocations: 41.81 kB / 0.5667 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.3188, allocations: 4 kB / 0.5667 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.3191, allocations: 129 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.3191, allocations: 0 / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001326/0.3204, allocations: 497 kB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.3205, allocations: 81.11 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.3209, allocations: 376.5 kB / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.3209, allocations: 29.7 kB / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.321, allocations: 144.5 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.332e-05/0.3211, allocations: 83.3 kB / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/0.3212, allocations: 41.72 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3213, allocations: 342.8 kB / 0.5684 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.3214, allocations: 59.91 kB / 0.5684 GB, free: 12.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.3216, allocations: 92.72 kB / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.3219, allocations: 159.3 kB / 0.5687 GB, free: 11.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3219, allocations: 0 / 0.5687 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004085/0.3223, allocations: 237.6 kB / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3223, allocations: 6.344 kB / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3223, allocations: 7.938 kB / 0.5689 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3223, allocations: 0 / 0.5689 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.3225, allocations: 47.92 kB / 0.5689 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.3225, allocations: 3.984 kB / 0.5689 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.3226, allocations: 8 kB / 0.569 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.3226, allocations: 8 kB / 0.569 GB, free: 11.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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001559/0.3227, allocations: 162.2 kB / 0.5691 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.3228, allocations: 35.81 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.3233, allocations: 264.2 kB / 0.5694 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3233, allocations: 0 / 0.5694 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3233, allocations: 0 / 0.5694 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3233, allocations: 4 kB / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009253/0.3242, allocations: 0.695 MB / 0.5701 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3243, allocations: 0 / 0.5701 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.608e-05/0.3243, allocations: 31.92 kB / 0.5701 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.3243, allocations: 4 kB / 0.5701 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.3244, allocations: 8 kB / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3244, allocations: 4 kB / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3244, allocations: 3.984 kB / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.3248, allocations: 425.9 kB / 0.5705 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.3249, allocations: 24.05 kB / 0.5706 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.3249, allocations: 11.98 kB / 0.5706 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.3251, allocations: 15.94 kB / 0.5706 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.3251, allocations: 19.91 kB / 0.5706 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3251, allocations: 12 kB / 0.5706 GB, free: 9.828 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002743/0.3254, allocations: 279 kB / 0.5709 GB, free: 9.555 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3254, allocations: 0 / 0.5709 GB, free: 9.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.3258, allocations: 51.88 kB / 0.5709 GB, free: 9.504 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (22): * Single equations (assignments): 18 * 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.00263/0.3284, allocations: 1.355 MB / 0.5723 GB, free: 8.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.3288, allocations: 147.8 kB / 0.5724 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3288, allocations: 0 / 0.5724 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.3289, allocations: 79.78 kB / 0.5725 GB, free: 8.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.3295, allocations: 67.39 kB / 0.5725 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.3328, allocations: 2.707 MB / 0.5752 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.3332, allocations: 0.7636 MB / 0.5759 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.3333, allocations: 37.92 kB / 0.576 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.3334, allocations: 87.39 kB / 0.5761 GB, free: 4.266 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3334, allocations: 7.938 kB / 0.5761 GB, free: 4.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/0.3692, allocations: 6.349 MB / 0.5823 GB, free: 13.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.78, allocations: 4.312 kB / 0.5823 GB, free: 13.95 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.745047239819542]