Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001313/0.001313, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001566/0.001566, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.427/1.427, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2221/0.2221, allocations: 46.93 MB / 360.9 MB, free: 4.27 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.Test76,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 67.89 kB / 0.4962 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3158, allocations: 66.04 MB / 0.5607 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003395/0.3192, allocations: 1.768 MB / 0.5624 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.3211, allocations: 1.056 MB / 0.5635 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.3212, allocations: 3.938 kB / 0.5635 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.3215, allocations: 51.75 kB / 0.5635 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.3219, allocations: 95.59 kB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.3221, allocations: 83.67 kB / 0.5637 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.3223, allocations: 127.7 kB / 0.5638 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3224, allocations: 17.8 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.3225, allocations: 63.7 kB / 0.5639 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.3226, allocations: 55.77 kB / 0.564 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3226, allocations: 4 kB / 0.564 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.3228, allocations: 63.97 kB / 0.564 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/0.3228, allocations: 27.92 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.003e-05/0.3229, allocations: 39.72 kB / 0.5641 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.3231, allocations: 147.3 kB / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3231, allocations: 0 / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3231, allocations: 0 / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3231, allocations: 3.938 kB / 0.5642 GB, free: 0.8242 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005917/0.3237, allocations: 373.4 kB / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3238, allocations: 8.031 kB / 0.5646 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.3238, allocations: 38.73 kB / 0.5646 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.3239, allocations: 16.84 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.3242, allocations: 170.2 kB / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3242, allocations: 4.359 kB / 0.5648 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.3242, allocations: 11.94 kB / 0.5648 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.3244, allocations: 73.66 kB / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3244, allocations: 8 kB / 0.5649 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3244, allocations: 0 / 0.5649 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3244, allocations: 0 / 0.5649 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.3246, allocations: 47.84 kB / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.325, allocations: 295.8 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.3254, allocations: 78.48 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.306e-05/0.3254, allocations: 32.84 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3254, allocations: 4.031 kB / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.3256, allocations: 79.38 kB / 0.5654 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.3256, allocations: 0 / 0.5654 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008651/0.3265, allocations: 293.1 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.3266, allocations: 63.33 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.3268, allocations: 198.7 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.3268, allocations: 29.7 kB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.3268, allocations: 108.4 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.3269, allocations: 43.58 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.327, allocations: 29.72 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3271, allocations: 326.8 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.585e-05/0.3272, allocations: 39.97 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-05/0.3273, allocations: 57.7 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.3275, allocations: 97.64 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3275, allocations: 0 / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002792/0.3277, allocations: 153.3 kB / 0.5668 GB, free: 13.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3278, allocations: 7.656 kB / 0.5668 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3278, allocations: 0 / 0.5668 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3278, allocations: 7.984 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.3279, allocations: 31.88 kB / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3279, allocations: 4.031 kB / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.3279, allocations: 7.984 kB / 0.5668 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3279, allocations: 8 kB / 0.5669 GB, free: 13.93 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 (15): * Single equations (assignments): 15 * 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.0001096/0.328, allocations: 125.8 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.3281, allocations: 15.91 kB / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.3284, allocations: 179 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3284, allocations: 3.938 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3284, allocations: 0 / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3284, allocations: 7.938 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006134/0.3291, allocations: 459.2 kB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3291, allocations: 0 / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.3291, allocations: 19.94 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.3291, allocations: 4 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3291, allocations: 7.984 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3291, allocations: 4 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3291, allocations: 8.047 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.3295, allocations: 257 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.3295, allocations: 11.95 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.3295, allocations: 4 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.3296, allocations: 4 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.3296, allocations: 19.95 kB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.3297, allocations: 8 kB / 0.5679 GB, free: 12.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.3298, allocations: 144.3 kB / 0.5681 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3298, allocations: 3.938 kB / 0.5681 GB, free: 12.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.3301, allocations: 35.89 kB / 0.5681 GB, free: 12.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.002481/0.3326, allocations: 1.194 MB / 0.5693 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.3328, allocations: 95.84 kB / 0.5694 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3328, allocations: 0 / 0.5694 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3329, allocations: 43.92 kB / 0.5694 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.3333, allocations: 40.27 kB / 0.5695 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.3356, allocations: 1.856 MB / 0.5713 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.3359, allocations: 0.7201 MB / 0.572 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.814e-05/0.336, allocations: 25.41 kB / 0.572 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.636e-05/0.3361, allocations: 47.41 kB / 0.572 GB, free: 8.578 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3361, allocations: 0 / 0.572 GB, free: 8.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.3674, allocations: 4.252 MB / 0.5762 GB, free: 4.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.15, allocations: 12.05 kB / 0.5762 GB, free: 4.387 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.066182845970616]