Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.001212/0.001212, 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.001342/0.001342, allocations: 204.7 kB / 24.51 MB, free: 3.945 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.429/1.429, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.2461/0.2461, allocations: 46.95 MB / 361.6 MB, free: 3.949 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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 79.88 kB / 0.497 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3149, allocations: 66.07 MB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003283/0.3182, allocations: 1.71 MB / 0.5632 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.3208, allocations: 1.66 MB / 0.5648 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.3209, allocations: 3.938 kB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.3212, allocations: 35.77 kB / 0.5648 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.3215, allocations: 103.5 kB / 0.5649 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.3217, allocations: 79.66 kB / 0.565 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.3219, allocations: 111.7 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.07e-05/0.322, allocations: 17.81 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.707e-05/0.322, allocations: 51.78 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.3222, allocations: 51.7 kB / 0.5652 GB, free: 204 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.3222, allocations: 4 kB / 0.5652 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.3224, allocations: 103.9 kB / 0.5653 GB, free: 96 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.3224, allocations: 23.92 kB / 0.5654 GB, free: 72 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.014e-05/0.3225, allocations: 35.73 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.3228, allocations: 171.4 kB / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3228, allocations: 4 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3228, allocations: 0 / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.3228, allocations: 0 / 0.5656 GB, free: 15.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006456/0.3234, allocations: 373.3 kB / 0.5659 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3235, allocations: 8.031 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.305e-05/0.3235, allocations: 4.188 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.3235, allocations: 30.75 kB / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.3236, allocations: 8.891 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.3239, allocations: 154.3 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3239, allocations: 8.375 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.3239, allocations: 4.375 kB / 0.5661 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.3242, allocations: 105 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3242, allocations: 7.953 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3242, allocations: 4 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3242, allocations: 0 / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.3243, allocations: 35.95 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.3247, allocations: 271.8 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.3249, allocations: 66.67 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.713e-05/0.325, allocations: 24.84 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.325, allocations: 4 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.3252, allocations: 75.31 kB / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3252, allocations: 4 kB / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006198/0.3258, allocations: 213.4 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.3258, allocations: 81.11 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.326, allocations: 179.5 kB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.3261, allocations: 33.8 kB / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.3261, allocations: 100.1 kB / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.3262, allocations: 31.73 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.3262, allocations: 25.7 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3264, allocations: 334.7 kB / 0.5676 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.843e-05/0.3264, allocations: 23.98 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3265, allocations: 76.27 kB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.3267, allocations: 73.64 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3267, allocations: 0 / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002647/0.327, allocations: 121.5 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.327, allocations: 8 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.327, allocations: 0 / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.327, allocations: 0 / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3271, allocations: 23.92 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3271, allocations: 4.062 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/0.3272, allocations: 8 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3272, allocations: 3.938 kB / 0.568 GB, free: 13.15 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 (11): * Single equations (assignments): 11 * 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.0001275/0.3273, allocations: 127.9 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.3273, allocations: 15.95 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.3276, allocations: 138.8 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3276, allocations: 0 / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3276, allocations: 3.938 kB / 0.5682 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3276, allocations: 0 / 0.5682 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005638/0.3282, allocations: 418.3 kB / 0.5686 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3282, allocations: 0 / 0.5686 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.3282, allocations: 12 kB / 0.5687 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3282, allocations: 0 / 0.5687 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.3283, allocations: 11.92 kB / 0.5687 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3283, allocations: 3.984 kB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3283, allocations: 0 / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.3287, allocations: 232.3 kB / 0.5689 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.3287, allocations: 19.83 kB / 0.5689 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.3287, allocations: 7.938 kB / 0.5689 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.3288, allocations: 8.031 kB / 0.5689 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.3289, allocations: 7.984 kB / 0.5689 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.3289, allocations: 8 kB / 0.5689 GB, free: 12.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.329, allocations: 135.2 kB / 0.5691 GB, free: 11.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.329, allocations: 0 / 0.5691 GB, free: 11.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003117/0.3293, allocations: 51.86 kB / 0.5691 GB, free: 11.88 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 (11): * Single equations (assignments): 9 * 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.00265/0.332, allocations: 1.237 MB / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3322, allocations: 79.91 kB / 0.5704 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3322, allocations: 0 / 0.5704 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3323, allocations: 40.05 kB / 0.5704 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.3326, allocations: 39.95 kB / 0.5705 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.3347, allocations: 1.687 MB / 0.5721 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.568e-05/0.3348, allocations: 84.19 kB / 0.5722 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.308e-05/0.3348, allocations: 20.64 kB / 0.5722 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.879e-05/0.3349, allocations: 43.41 kB / 0.5723 GB, free: 8.727 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3349, allocations: 0 / 0.5723 GB, free: 8.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/0.3621, allocations: 4.649 MB / 0.5768 GB, free: 4.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.16, allocations: 0 / 0.5768 GB, free: 4.098 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.171420653001405]