Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.001577/0.001577, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001443/0.001443, allocations: 214.6 kB / 23.73 MB, free: 4.16 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.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.2279/0.2279, allocations: 46.94 MB / 360.8 MB, free: 3.918 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.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 76.2 kB / 0.4962 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3158, allocations: 66.09 MB / 0.5608 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003245/0.319, allocations: 1.722 MB / 0.5624 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.3209, allocations: 0.9812 MB / 0.5634 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.3209, allocations: 0 / 0.5634 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.3213, allocations: 87.7 kB / 0.5635 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.3216, allocations: 119.5 kB / 0.5636 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.3218, allocations: 79.67 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.322, allocations: 127.6 kB / 0.5638 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3221, allocations: 21.73 kB / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.533e-05/0.3222, allocations: 59.77 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.3223, allocations: 63.75 kB / 0.5639 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.3223, allocations: 11.98 kB / 0.564 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.3225, allocations: 63.97 kB / 0.564 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.3225, allocations: 27.86 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.3226, allocations: 31.73 kB / 0.5641 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.3228, allocations: 143.4 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3228, allocations: 3.984 kB / 0.5642 GB, free: 448 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3228, allocations: 0 / 0.5642 GB, free: 448 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3228, allocations: 0 / 0.5642 GB, free: 448 kB / 398.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.0005991/0.3234, allocations: 373.3 kB / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3235, allocations: 12.03 kB / 0.5646 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.508e-05/0.3235, allocations: 38.75 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.3236, allocations: 16.84 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.3238, allocations: 166.9 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3239, allocations: 384 / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.3239, allocations: 8.375 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.324, allocations: 61.8 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3241, allocations: 4 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3241, allocations: 0 / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3241, allocations: 4 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.071e-05/0.3242, allocations: 27.97 kB / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.3246, allocations: 279.8 kB / 0.5652 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.3248, allocations: 54.55 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.947e-05/0.3249, allocations: 20.98 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.3249, allocations: 0 / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.3251, allocations: 71.38 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3251, allocations: 0 / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008584/0.3259, allocations: 253.1 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.3261, allocations: 67.34 kB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.3263, allocations: 242.9 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3263, allocations: 25.7 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.3264, allocations: 116.1 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.3264, allocations: 35.8 kB / 0.566 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.3265, allocations: 25.72 kB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3266, allocations: 326.8 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/0.3267, allocations: 31.98 kB / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.3268, allocations: 45.7 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.327, allocations: 85.64 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.327, allocations: 0 / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002315/0.3272, allocations: 133.5 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.3272, allocations: 7.938 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3272, allocations: 0 / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3272, allocations: 4 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.3273, allocations: 23.92 kB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.3273, allocations: 0 / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.3274, allocations: 7.938 kB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3274, allocations: 8 kB / 0.5667 GB, free: 13.7 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 (13): * Single equations (assignments): 13 * 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.0001182/0.3275, allocations: 133.9 kB / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.3275, allocations: 15.91 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.3278, allocations: 154.9 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.3278, allocations: 4 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3278, allocations: 0 / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3278, allocations: 3.938 kB / 0.567 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.3284, allocations: 419.2 kB / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3284, allocations: 0 / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.3284, allocations: 27.98 kB / 0.5674 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3284, allocations: 3.938 kB / 0.5674 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3285, allocations: 4 kB / 0.5674 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3285, allocations: 0 / 0.5674 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3285, allocations: 4 kB / 0.5674 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.3288, allocations: 245.3 kB / 0.5676 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.3288, allocations: 19.83 kB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.3288, allocations: 8 kB / 0.5677 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.3289, allocations: 0 / 0.5677 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.3289, allocations: 11.97 kB / 0.5677 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.329, allocations: 12 kB / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.3291, allocations: 171.2 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3291, allocations: 0 / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000269/0.3294, allocations: 39.92 kB / 0.5679 GB, free: 12.35 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 (12): * Single equations (assignments): 10 * 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.002649/0.332, allocations: 1.209 MB / 0.5691 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.3322, allocations: 75.91 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3323, allocations: 0 / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.503e-05/0.3323, allocations: 47.97 kB / 0.5692 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.3327, allocations: 41.03 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.3348, allocations: 1.862 MB / 0.5711 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.3349, allocations: 97.77 kB / 0.5711 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.082e-05/0.3349, allocations: 24.94 kB / 0.5712 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.895e-05/0.335, allocations: 47.36 kB / 0.5712 GB, free: 9.004 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.335, allocations: 3.938 kB / 0.5712 GB, free: 9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.3666, allocations: 4.621 MB / 0.5757 GB, free: 4.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.2, allocations: 9.844 kB / 0.5757 GB, free: 4.406 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.072179497219622]