Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001763/0.001763, allocations: 116.1 kB / 21.23 MB, free: 0.6016 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.002222/0.002222, allocations: 221 kB / 24.54 MB, free: 3.812 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.539/1.539, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2321/0.2321, allocations: 44.91 MB / 359.6 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 63.91 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3968, allocations: 65.47 MB / 0.5579 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003388/0.4002, allocations: 1.75 MB / 0.5596 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.4031, allocations: 1.743 MB / 0.5613 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.483e-05/0.4032, allocations: 0 / 0.5613 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.4035, allocations: 35.77 kB / 0.5613 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.4039, allocations: 107.5 kB / 0.5614 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.4041, allocations: 75.67 kB / 0.5615 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.4043, allocations: 115.7 kB / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.4044, allocations: 9.969 kB / 0.5616 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.4045, allocations: 51.78 kB / 0.5616 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.4047, allocations: 47.77 kB / 0.5617 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.4047, allocations: 8 kB / 0.5617 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.4049, allocations: 111.9 kB / 0.5618 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.405, allocations: 23.86 kB / 0.5618 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.405, allocations: 35.73 kB / 0.5619 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.4054, allocations: 183.4 kB / 0.562 GB, free: 3.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4054, allocations: 0 / 0.562 GB, free: 3.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4054, allocations: 3.938 kB / 0.562 GB, free: 3.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.4054, allocations: 0 / 0.562 GB, free: 3.473 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006203/0.406, allocations: 365.4 kB / 0.5624 GB, free: 3.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.406, allocations: 8.031 kB / 0.5624 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.353e-05/0.4061, allocations: 4.125 kB / 0.5624 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.4061, allocations: 38.75 kB / 0.5624 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.4061, allocations: 12.89 kB / 0.5624 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.4065, allocations: 154.3 kB / 0.5626 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.4065, allocations: 12.12 kB / 0.5626 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.4065, allocations: 0 / 0.5626 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.4067, allocations: 75.38 kB / 0.5627 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.4067, allocations: 7.891 kB / 0.5627 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.4068, allocations: 0 / 0.5627 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.4068, allocations: 3.938 kB / 0.5627 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.736e-05/0.4069, allocations: 31.98 kB / 0.5627 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.4073, allocations: 263.9 kB / 0.563 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.4075, allocations: 70.67 kB / 0.563 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.95e-05/0.4076, allocations: 28.77 kB / 0.5631 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.4076, allocations: 80 / 0.5631 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.4078, allocations: 83.36 kB / 0.5631 GB, free: 2.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.4078, allocations: 4 kB / 0.5631 GB, free: 2.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006823/0.4085, allocations: 193.3 kB / 0.5633 GB, free: 1.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.4086, allocations: 81.11 kB / 0.5634 GB, free: 1.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.4088, allocations: 174.1 kB / 0.5636 GB, free: 1.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.4088, allocations: 29.7 kB / 0.5636 GB, free: 1.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.4089, allocations: 104.1 kB / 0.5637 GB, free: 1.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.409, allocations: 31.73 kB / 0.5637 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.409, allocations: 21.72 kB / 0.5638 GB, free: 1.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4092, allocations: 322.8 kB / 0.5641 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.048e-05/0.4093, allocations: 23.98 kB / 0.5641 GB, free: 1.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.264e-05/0.4094, allocations: 54.5 kB / 0.5641 GB, free: 1.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.4095, allocations: 77.75 kB / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4095, allocations: 0 / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002486/0.4098, allocations: 117.5 kB / 0.5643 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4098, allocations: 5.406 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.4098, allocations: 0 / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4098, allocations: 0 / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.4099, allocations: 19.94 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.4099, allocations: 3.938 kB / 0.5644 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.1e-05/0.41, allocations: 11.98 kB / 0.5644 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.41, allocations: 11.97 kB / 0.5644 GB, free: 0.8516 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001334/0.4101, allocations: 113.8 kB / 0.5645 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.4102, allocations: 11.95 kB / 0.5645 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.4105, allocations: 134.8 kB / 0.5646 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4105, allocations: 0 / 0.5646 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4105, allocations: 3.938 kB / 0.5646 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4105, allocations: 4 kB / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/0.411, allocations: 386.3 kB / 0.565 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4111, allocations: 4 kB / 0.565 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.4111, allocations: 8 kB / 0.565 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4111, allocations: 3.938 kB / 0.565 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4111, allocations: 4 kB / 0.565 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4111, allocations: 3.938 kB / 0.565 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4111, allocations: 3.984 kB / 0.565 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.4114, allocations: 220.5 kB / 0.5652 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.4115, allocations: 15.94 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.4115, allocations: 3.938 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.4116, allocations: 7.984 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.4116, allocations: 8 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.4116, allocations: 7.984 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.4118, allocations: 124.1 kB / 0.5654 GB, free: 15.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4118, allocations: 4 kB / 0.5654 GB, free: 15.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003285/0.4121, allocations: 51.86 kB / 0.5655 GB, free: 15.66 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.002574/0.4147, allocations: 1.199 MB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.4149, allocations: 67.91 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4149, allocations: 0 / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.682e-05/0.415, allocations: 31.92 kB / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.4154, allocations: 45.38 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.4176, allocations: 1.66 MB / 0.5684 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.418, allocations: 0.7006 MB / 0.5691 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.4181, allocations: 28.56 kB / 0.5691 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-05/0.4182, allocations: 39.41 kB / 0.5691 GB, free: 11.97 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4182, allocations: 0 / 0.5691 GB, free: 11.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.4473, allocations: 4.399 MB / 0.5734 GB, free: 7.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.75, allocations: 11.88 kB / 0.5734 GB, free: 7.609 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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: 15.050476950011216]