Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001262/0.001262, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001384/0.001384, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2358/0.2358, allocations: 46.93 MB / 360.9 MB, free: 4.266 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.Test26,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.83 kB / 0.4962 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3232, allocations: 66.03 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003144/0.3263, allocations: 1.741 MB / 0.5624 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.3282, allocations: 1.053 MB / 0.5634 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.3283, allocations: 7.875 kB / 0.5635 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.3286, allocations: 39.78 kB / 0.5635 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.3289, allocations: 99.59 kB / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.3291, allocations: 83.66 kB / 0.5637 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.3293, allocations: 99.75 kB / 0.5638 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.3294, allocations: 5.828 kB / 0.5638 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.3295, allocations: 55.72 kB / 0.5638 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.422e-05/0.3296, allocations: 31.78 kB / 0.5638 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.3296, allocations: 4 kB / 0.5639 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-05/0.3297, allocations: 39.98 kB / 0.5639 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.3298, allocations: 23.91 kB / 0.5639 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.3298, allocations: 35.75 kB / 0.5639 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.3301, allocations: 127.4 kB / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3301, allocations: 0 / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3301, allocations: 3.938 kB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3301, 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.0006508/0.3307, allocations: 349.5 kB / 0.5644 GB, free: 0.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3308, allocations: 16.02 kB / 0.5644 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.644e-05/0.3308, allocations: 34.75 kB / 0.5645 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.3309, allocations: 8.891 kB / 0.5645 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.3312, allocations: 158.2 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.3312, allocations: 12.38 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.3312, allocations: 3.938 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3314, allocations: 57.61 kB / 0.5647 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3314, allocations: 0 / 0.5647 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.3314, allocations: 4 kB / 0.5647 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3314, allocations: 3.938 kB / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.423e-05/0.3315, allocations: 15.98 kB / 0.5647 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.332, allocations: 267.9 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.3321, allocations: 62.61 kB / 0.565 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.3322, allocations: 20.84 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3322, allocations: 0 / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.3324, allocations: 63.39 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3324, allocations: 4 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005389/0.3329, allocations: 189.3 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.333, allocations: 51.41 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.3332, allocations: 214.6 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3332, allocations: 33.7 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.961e-05/0.3333, allocations: 104.1 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.3333, allocations: 27.78 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.3333, allocations: 25.72 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3335, allocations: 326.8 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.3335, allocations: 19.98 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-05/0.3336, allocations: 41.64 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.3337, allocations: 49.72 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3337, allocations: 0 / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001979/0.3339, allocations: 113.5 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3339, allocations: 4 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3339, allocations: 0 / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.334, allocations: 4 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.334, allocations: 15.98 kB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3341, allocations: 0 / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.3341, allocations: 7.938 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3341, 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.0001901/0.3343, allocations: 133.7 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.3343, allocations: 15.94 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.3347, allocations: 123.2 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3347, allocations: 0 / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3347, allocations: 0 / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3347, allocations: 3.938 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.3351, allocations: 362.4 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3351, allocations: 4 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.3352, allocations: 12.2 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3352, allocations: 7.938 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3352, allocations: 3.938 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3352, allocations: 0 / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3352, allocations: 4 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.3354, allocations: 204.2 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.3355, allocations: 7.953 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.3355, allocations: 15.92 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.3356, allocations: 4.375 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.3356, allocations: 0 / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.3356, allocations: 11.98 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.3358, allocations: 160.3 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3358, allocations: 0 / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.336, allocations: 23.94 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.002187/0.3382, allocations: 1.091 MB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.3384, allocations: 55.92 kB / 0.5685 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3384, allocations: 0 / 0.5685 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.795e-05/0.3385, 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.0003562/0.3388, allocations: 40.64 kB / 0.5685 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.3408, allocations: 1.689 MB / 0.5702 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.3412, allocations: 0.7157 MB / 0.5709 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.598e-05/0.3413, allocations: 16.58 kB / 0.5709 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/0.3414, allocations: 39.42 kB / 0.5709 GB, free: 9.73 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3414, allocations: 0 / 0.5709 GB, free: 9.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.3707, allocations: 3.68 MB / 0.5745 GB, free: 6.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.16, allocations: 3.984 kB / 0.5745 GB, free: 6.109 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.18161075701937]