Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.0013/0.0013, 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.001525/0.001525, allocations: 213 kB / 23.73 MB, free: 4.164 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.385/1.385, 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.225/0.225, allocations: 46.95 MB / 360.8 MB, free: 3.93 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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 87.86 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3181, allocations: 66.07 MB / 0.5607 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003415/0.3216, allocations: 1.904 MB / 0.5626 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.3234, allocations: 1.002 MB / 0.5636 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.982e-05/0.3235, allocations: 7.875 kB / 0.5636 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.3238, allocations: 47.7 kB / 0.5636 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.3241, allocations: 111.4 kB / 0.5637 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.3243, allocations: 91.72 kB / 0.5638 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.3246, allocations: 147.5 kB / 0.564 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.3247, allocations: 19.56 kB / 0.564 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.3248, allocations: 59.72 kB / 0.564 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.3249, allocations: 47.7 kB / 0.5641 GB, free: 468 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.3249, allocations: 8 kB / 0.5641 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.325, allocations: 47.98 kB / 0.5641 GB, free: 412 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.3251, allocations: 31.8 kB / 0.5642 GB, free: 380 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.3252, allocations: 47.72 kB / 0.5642 GB, free: 332 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.3254, allocations: 155.3 kB / 0.5644 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3254, allocations: 0 / 0.5644 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3254, allocations: 4 kB / 0.5644 GB, free: 172 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3254, allocations: 0 / 0.5644 GB, free: 172 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006597/0.3261, allocations: 411 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3261, allocations: 12.02 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.3262, allocations: 38.75 kB / 0.5648 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.3262, allocations: 16.84 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.3265, allocations: 171 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.3266, allocations: 8.375 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.3266, allocations: 4.375 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.3269, allocations: 142 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3269, allocations: 0 / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3269, allocations: 0 / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.3269, allocations: 4 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.327, allocations: 55.89 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.3277, allocations: 480.1 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.328, allocations: 86.61 kB / 0.5657 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/0.3281, allocations: 36.83 kB / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.3281, allocations: 4 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.3283, allocations: 101.1 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.3283, allocations: 4 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004058/0.3287, allocations: 161.4 kB / 0.566 GB, free: 14.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.3288, allocations: 63.28 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.329, allocations: 207.1 kB / 0.5663 GB, free: 14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.329, allocations: 25.7 kB / 0.5663 GB, free: 13.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.3291, allocations: 120.1 kB / 0.5664 GB, free: 13.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.3291, allocations: 27.75 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.3292, allocations: 29.7 kB / 0.5665 GB, free: 13.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3293, allocations: 326.8 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.3294, allocations: 23.98 kB / 0.5668 GB, free: 13.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.3295, allocations: 68.27 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.3297, allocations: 104.2 kB / 0.567 GB, free: 13.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3297, allocations: 0 / 0.567 GB, free: 13.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002761/0.33, allocations: 133.4 kB / 0.5671 GB, free: 13.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.33, allocations: 12.12 kB / 0.5671 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.33, allocations: 0 / 0.5671 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.33, allocations: 7.938 kB / 0.5671 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.96e-05/0.3301, allocations: 23.98 kB / 0.5671 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.3302, allocations: 11.92 kB / 0.5672 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.128e-05/0.3302, allocations: 15.88 kB / 0.5672 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3302, allocations: 4 kB / 0.5672 GB, free: 13.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001098/0.3304, allocations: 128 kB / 0.5673 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.3304, allocations: 15.91 kB / 0.5673 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.3307, allocations: 143.4 kB / 0.5675 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.3307, allocations: 0 / 0.5675 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.3307, allocations: 11.92 kB / 0.5675 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3307, allocations: 0 / 0.5675 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.3309, allocations: 176.7 kB / 0.5676 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3309, allocations: 0 / 0.5676 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.938e-05/0.331, allocations: 15.98 kB / 0.5676 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.331, allocations: 0 / 0.5676 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.331, allocations: 0 / 0.5676 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.331, allocations: 0 / 0.5676 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.331, allocations: 3.938 kB / 0.5677 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.3314, allocations: 196.9 kB / 0.5678 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.3314, allocations: 15.88 kB / 0.5679 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.3314, allocations: 11.94 kB / 0.5679 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.246e-05/0.3315, allocations: 7.984 kB / 0.5679 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.3315, allocations: 11.92 kB / 0.5679 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.3315, allocations: 0 / 0.5679 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.3317, allocations: 147.2 kB / 0.568 GB, free: 12.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3317, allocations: 0 / 0.568 GB, free: 12.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.3319, allocations: 28.06 kB / 0.5681 GB, free: 12.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002206/0.3341, allocations: 1.056 MB / 0.5691 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.3344, allocations: 79.89 kB / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3344, allocations: 0 / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3345, allocations: 35.92 kB / 0.5692 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.0003099/0.3348, allocations: 50.19 kB / 0.5692 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.3371, allocations: 1.768 MB / 0.571 GB, free: 9.082 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.3372, allocations: 109.8 kB / 0.5711 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.4e-05/0.3373, allocations: 21.41 kB / 0.5711 GB, free: 8.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.3373, allocations: 43.42 kB / 0.5711 GB, free: 8.891 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3373, allocations: 3.938 kB / 0.5711 GB, free: 8.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.3715, allocations: 4.539 MB / 0.5756 GB, free: 4.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.05, allocations: 10.33 kB / 0.5756 GB, free: 4.371 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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: 13.906164928805083]