Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2243/0.2243, allocations: 46.93 MB / 360.9 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 67.89 kB / 0.4962 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3207, allocations: 66.04 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003125/0.3238, allocations: 1.737 MB / 0.5624 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3257, allocations: 1.049 MB / 0.5634 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.3258, allocations: 7.938 kB / 0.5634 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.3261, allocations: 47.69 kB / 0.5635 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.3265, allocations: 95.59 kB / 0.5636 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.3267, allocations: 79.67 kB / 0.5637 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.3269, allocations: 99.75 kB / 0.5638 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.327, allocations: 9.812 kB / 0.5638 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3271, allocations: 51.67 kB / 0.5638 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.27e-05/0.3272, allocations: 39.83 kB / 0.5638 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3272, allocations: 4 kB / 0.5639 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.921e-05/0.3273, allocations: 39.98 kB / 0.5639 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.3274, allocations: 19.92 kB / 0.5639 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.341e-05/0.3274, allocations: 35.75 kB / 0.5639 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.3277, allocations: 131.4 kB / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3277, allocations: 0 / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.237e-06/0.3277, allocations: 4 kB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3277, allocations: 0 / 0.5641 GB, free: 0.9961 MB / 398.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.0005983/0.3283, allocations: 353.5 kB / 0.5644 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3283, allocations: 8.031 kB / 0.5644 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/0.3284, allocations: 38.73 kB / 0.5645 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.3285, allocations: 16.89 kB / 0.5645 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.3288, allocations: 154.2 kB / 0.5646 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3288, allocations: 384 / 0.5646 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.3288, allocations: 11.94 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.329, allocations: 53.61 kB / 0.5647 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.329, allocations: 0 / 0.5647 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.329, allocations: 11.98 kB / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.329, allocations: 0 / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.028e-05/0.3291, allocations: 19.98 kB / 0.5647 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.3295, allocations: 263.9 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.3296, allocations: 58.61 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.3297, allocations: 24.84 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3297, allocations: 0 / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.3299, allocations: 67.39 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3299, allocations: 0 / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005178/0.3304, allocations: 177.3 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3304, allocations: 55.34 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.3306, allocations: 222.6 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.3307, allocations: 29.7 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.3307, allocations: 104.1 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.3308, allocations: 23.8 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.3308, allocations: 29.7 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3309, allocations: 322.8 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.039e-05/0.331, allocations: 23.98 kB / 0.566 GB, free: 14.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.3311, allocations: 37.64 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3312, allocations: 65.77 kB / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3312, allocations: 0 / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.3314, allocations: 105.5 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3314, allocations: 8 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3314, allocations: 0 / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3314, allocations: 0 / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.3315, allocations: 12 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3315, allocations: 12.02 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.3316, allocations: 4.312 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.3316, allocations: 4 kB / 0.5663 GB, free: 14.52 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.0001084/0.3317, allocations: 125.8 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.3317, allocations: 23.83 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.332, allocations: 111.1 kB / 0.5665 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.332, allocations: 0 / 0.5665 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.332, allocations: 8 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.332, allocations: 3.938 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.3324, allocations: 366.4 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3324, allocations: 0 / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.3325, allocations: 8 kB / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3325, allocations: 3.938 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3325, allocations: 3.984 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3325, allocations: 7.938 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3325, allocations: 0 / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.3327, allocations: 204.3 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.3328, allocations: 7.953 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.3328, allocations: 3.938 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.3328, allocations: 11.98 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.3329, allocations: 8.172 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.3329, allocations: 4 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.333, allocations: 164.2 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.333, allocations: 0 / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.3333, allocations: 23.94 kB / 0.5673 GB, free: 13.36 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 (8): * Single equations (assignments): 6 * 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.002063/0.3353, allocations: 1.099 MB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.3355, allocations: 55.91 kB / 0.5685 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3355, allocations: 0 / 0.5685 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.452e-05/0.3356, allocations: 23.98 kB / 0.5685 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.3359, allocations: 36.05 kB / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.3378, allocations: 1.689 MB / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.3381, allocations: 0.708 MB / 0.5709 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.955e-05/0.3382, allocations: 24.89 kB / 0.5709 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.3382, allocations: 39.41 kB / 0.5709 GB, free: 9.727 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3382, allocations: 0 / 0.5709 GB, free: 9.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.3675, allocations: 3.687 MB / 0.5745 GB, free: 6.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.35, allocations: 0 / 0.5745 GB, free: 6.105 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.240835297852755]