Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001482/0.001482, allocations: 119.6 kB / 20.44 MB, free: 1.297 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.001503/0.001503, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2339/0.2339, allocations: 46.94 MB / 360.9 MB, free: 4.277 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.Test44,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 71.88 kB / 0.4962 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3391, allocations: 66.03 MB / 0.5607 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00386/0.343, allocations: 1.741 MB / 0.5624 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.3449, allocations: 1.049 MB / 0.5634 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.601e-05/0.345, allocations: 0 / 0.5634 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.3453, allocations: 47.75 kB / 0.5635 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.3457, allocations: 99.55 kB / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.3459, allocations: 79.67 kB / 0.5637 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.3462, allocations: 103.7 kB / 0.5638 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3463, allocations: 21.73 kB / 0.5638 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.3464, allocations: 43.73 kB / 0.5638 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.628e-05/0.3465, allocations: 31.86 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.3465, allocations: 4 kB / 0.5639 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.3466, allocations: 43.97 kB / 0.5639 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.978e-05/0.3467, allocations: 19.92 kB / 0.5639 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.3468, allocations: 39.67 kB / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.347, allocations: 127.4 kB / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.347, allocations: 0 / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.347, allocations: 0 / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3471, allocations: 0 / 0.5641 GB, free: 0.9922 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.0005917/0.3476, allocations: 353.5 kB / 0.5644 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3477, allocations: 12.03 kB / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.3477, allocations: 30.75 kB / 0.5644 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.3478, allocations: 8.891 kB / 0.5645 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.3481, allocations: 170.2 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.3481, allocations: 8.375 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.3481, allocations: 3.938 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3483, allocations: 57.67 kB / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3483, allocations: 0 / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3483, allocations: 4 kB / 0.5647 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3483, allocations: 0 / 0.5647 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.132e-05/0.3484, allocations: 19.98 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.3488, allocations: 259.9 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.349, allocations: 66.61 kB / 0.565 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.349, allocations: 8.859 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3491, allocations: 11.98 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.3492, allocations: 59.39 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.734e-06/0.3492, allocations: 0 / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005554/0.3498, allocations: 185.3 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.3498, allocations: 59.39 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.3501, allocations: 214.6 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3501, allocations: 29.7 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.3502, allocations: 108.1 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.3502, allocations: 23.8 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.3502, allocations: 29.64 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3504, allocations: 326.8 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.3504, allocations: 12 kB / 0.566 GB, free: 14.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.3505, allocations: 45.64 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.3506, allocations: 57.7 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3506, allocations: 0 / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001947/0.3508, allocations: 113.5 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3509, allocations: 6.656 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3509, allocations: 0 / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3509, allocations: 4.031 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.443e-05/0.351, allocations: 16 kB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.351, allocations: 4.094 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.041e-05/0.351, allocations: 11.92 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.351, allocations: 0 / 0.5663 GB, free: 14.51 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.0001088/0.3511, allocations: 128.7 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.3512, allocations: 12.28 kB / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.3514, allocations: 119 kB / 0.5665 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3514, allocations: 0 / 0.5665 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3514, allocations: 7.984 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3514, allocations: 11.92 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.3519, allocations: 366.4 kB / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3519, allocations: 4 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.352, allocations: 7.938 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.352, allocations: 7.938 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.352, allocations: 3.984 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.352, allocations: 0 / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.352, allocations: 8.031 kB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.3522, allocations: 200.3 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.3523, allocations: 7.953 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.3523, allocations: 3.938 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/0.3524, allocations: 4 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.3524, allocations: 11.92 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.3524, allocations: 8 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.3526, allocations: 156.3 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3526, allocations: 0 / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.3528, allocations: 27.92 kB / 0.5673 GB, free: 13.35 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.00224/0.3551, allocations: 1.1 MB / 0.5684 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.3553, allocations: 55.91 kB / 0.5685 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3553, allocations: 0 / 0.5685 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/0.3554, allocations: 31.98 kB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.3557, allocations: 25.67 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.002143/0.3578, allocations: 1.682 MB / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.3582, allocations: 0.7119 MB / 0.5709 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.487e-05/0.3583, allocations: 12.59 kB / 0.5709 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.3584, allocations: 39.42 kB / 0.5709 GB, free: 9.734 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3584, allocations: 0 / 0.5709 GB, free: 9.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.3887, allocations: 3.691 MB / 0.5745 GB, free: 6.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.15, allocations: 0 / 0.5745 GB, free: 6.105 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.1171252168715]