Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001347/0.001347, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001421/0.001421, allocations: 204.9 kB / 23.72 MB, free: 4.391 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.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.2351/0.2351, allocations: 46.95 MB / 360.8 MB, free: 3.902 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.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 83.86 kB / 0.4962 GB, free: 7.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3169, allocations: 66.09 MB / 0.5608 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003362/0.3203, allocations: 1.706 MB / 0.5624 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.3235, allocations: 1.666 MB / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.3236, allocations: 0 / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.3239, allocations: 39.77 kB / 0.5641 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.3243, allocations: 99.53 kB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.3245, allocations: 79.73 kB / 0.5643 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.3247, allocations: 111.6 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3248, allocations: 9.828 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.055e-05/0.3249, allocations: 51.77 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.3251, allocations: 39.78 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.3251, allocations: 4 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.3253, allocations: 107.9 kB / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.729e-05/0.3254, allocations: 15.92 kB / 0.5646 GB, free: 68 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.69e-05/0.3254, allocations: 35.78 kB / 0.5646 GB, free: 32 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.3258, allocations: 171.3 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3258, allocations: 0 / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3258, allocations: 4 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3258, allocations: 3.938 kB / 0.5648 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005756/0.3264, allocations: 345.5 kB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3264, allocations: 12.03 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.3265, allocations: 30.75 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.3265, allocations: 12.84 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.3268, allocations: 150.9 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3268, allocations: 384 / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.3268, allocations: 7.938 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.327, allocations: 105 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3271, allocations: 0 / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3271, allocations: 0 / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3271, allocations: 0 / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.3272, allocations: 19.98 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.3276, allocations: 260 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.3278, allocations: 62.61 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.931e-05/0.3278, allocations: 24.78 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.3279, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.328, allocations: 75.38 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.328, allocations: 0 / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006008/0.3286, allocations: 181.3 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.3287, allocations: 77.11 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.3289, allocations: 170.4 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.3289, allocations: 25.7 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.329, allocations: 96.12 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.329, allocations: 27.75 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.3291, allocations: 29.7 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3293, allocations: 322.8 kB / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.3293, allocations: 27.94 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.525e-05/0.3294, allocations: 68.64 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3296, allocations: 65.69 kB / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3296, allocations: 0 / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002185/0.3298, allocations: 105.6 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3298, allocations: 8.188 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.3298, allocations: 0 / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3298, allocations: 3.938 kB / 0.567 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/0.3299, allocations: 20.05 kB / 0.567 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3299, allocations: 4 kB / 0.567 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.33, allocations: 7.938 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.33, allocations: 4 kB / 0.567 GB, free: 13.32 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 (10): * Single equations (assignments): 10 * 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.0001094/0.3301, allocations: 121.8 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.3301, allocations: 11.94 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.3304, allocations: 118.3 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3304, allocations: 0 / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3304, allocations: 0 / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3304, allocations: 3.938 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.3309, allocations: 378.4 kB / 0.5676 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3309, allocations: 0 / 0.5676 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.3309, allocations: 11.98 kB / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.3309, allocations: 3.938 kB / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.331, allocations: 4 kB / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.331, allocations: 0 / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.331, allocations: 3.938 kB / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.3312, allocations: 216.3 kB / 0.5679 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.3313, allocations: 11.94 kB / 0.5679 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.3313, allocations: 11.97 kB / 0.5679 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.3314, allocations: 4 kB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.3314, allocations: 7.984 kB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.3314, allocations: 4 kB / 0.5679 GB, free: 12.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.3315, allocations: 127.9 kB / 0.568 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3315, allocations: 0 / 0.568 GB, free: 12.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003223/0.3319, allocations: 55.81 kB / 0.5681 GB, free: 12.15 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 (9): * Single equations (assignments): 7 * 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.002627/0.3345, allocations: 1.231 MB / 0.5693 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.3347, allocations: 59.92 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3347, allocations: 0 / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/0.3348, allocations: 27.98 kB / 0.5694 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.3351, allocations: 31.09 kB / 0.5694 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.337, allocations: 1.597 MB / 0.571 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.968e-05/0.3371, allocations: 81.33 kB / 0.571 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.552e-05/0.3371, allocations: 21.27 kB / 0.5711 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.3372, allocations: 39.34 kB / 0.5711 GB, free: 9.137 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3372, allocations: 4 kB / 0.5711 GB, free: 9.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.3701, allocations: 4.756 MB / 0.5757 GB, free: 4.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.39, allocations: 3 kB / 0.5757 GB, free: 4.387 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.353163456078619]