Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001277/0.001277, 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.001515/0.001515, 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.2196/0.2196, allocations: 44.92 MB / 358.8 MB, free: 6.32 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",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.002034/0.002034, allocations: 76.12 kB / 0.4932 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.308, allocations: 65.46 MB / 0.5571 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003252/0.3113, allocations: 1.75 MB / 0.5588 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.3131, allocations: 1.038 MB / 0.5598 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.229e-05/0.3132, allocations: 3.938 kB / 0.5598 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.3135, allocations: 39.78 kB / 0.5599 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.3138, allocations: 91.59 kB / 0.5599 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.3141, allocations: 87.59 kB / 0.56 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.3142, allocations: 103.7 kB / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.163e-05/0.3143, allocations: 9.766 kB / 0.5601 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.3144, allocations: 47.8 kB / 0.5602 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.812e-05/0.3145, allocations: 35.83 kB / 0.5602 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.3145, allocations: 7.938 kB / 0.5602 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-05/0.3146, allocations: 39.98 kB / 0.5603 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.719e-05/0.3147, allocations: 19.91 kB / 0.5603 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.3147, allocations: 35.81 kB / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.315, allocations: 119.4 kB / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.315, allocations: 0 / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.315, allocations: 0 / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.315, allocations: 0 / 0.5604 GB, free: 4.344 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.0005546/0.3155, allocations: 337.6 kB / 0.5607 GB, free: 3.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3156, allocations: 12.03 kB / 0.5608 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.3156, allocations: 34.69 kB / 0.5608 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.3156, allocations: 8.891 kB / 0.5608 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.3159, allocations: 150.4 kB / 0.5609 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3159, allocations: 4.375 kB / 0.5609 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.3159, allocations: 7.938 kB / 0.561 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3161, allocations: 57.61 kB / 0.561 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3161, allocations: 0 / 0.561 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3161, allocations: 3.984 kB / 0.561 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3161, allocations: 0 / 0.561 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.173e-05/0.3162, allocations: 19.98 kB / 0.561 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.3165, allocations: 259.9 kB / 0.5613 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.3167, allocations: 58.61 kB / 0.5613 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/0.3168, allocations: 20.84 kB / 0.5614 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.3168, allocations: 7.984 kB / 0.5614 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.3169, allocations: 67.39 kB / 0.5614 GB, free: 3.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.317, allocations: 0 / 0.5614 GB, free: 3.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005437/0.3175, allocations: 169.4 kB / 0.5616 GB, free: 3.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3175, allocations: 51.41 kB / 0.5616 GB, free: 2.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.3177, allocations: 174.1 kB / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.3178, allocations: 29.7 kB / 0.5618 GB, free: 2.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.3178, allocations: 104.1 kB / 0.5619 GB, free: 2.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.3179, allocations: 19.8 kB / 0.5619 GB, free: 2.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.3179, allocations: 33.7 kB / 0.562 GB, free: 2.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3181, allocations: 322.8 kB / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.99e-05/0.3181, allocations: 20 kB / 0.5623 GB, free: 2.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.3182, allocations: 41.58 kB / 0.5623 GB, free: 2.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.3183, allocations: 57.69 kB / 0.5624 GB, free: 2.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3183, allocations: 4 kB / 0.5624 GB, free: 2.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001973/0.3185, allocations: 105.5 kB / 0.5625 GB, free: 1.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3185, allocations: 7.984 kB / 0.5625 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3185, allocations: 0 / 0.5625 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3186, allocations: 4 kB / 0.5625 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.3187, allocations: 12 kB / 0.5625 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3187, allocations: 0 / 0.5625 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.3188, allocations: 11.88 kB / 0.5625 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3188, allocations: 3.984 kB / 0.5625 GB, free: 1.957 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 (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.0001155/0.3189, allocations: 129.8 kB / 0.5627 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.3189, allocations: 8.328 kB / 0.5627 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.3192, allocations: 118.5 kB / 0.5628 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3192, allocations: 0 / 0.5628 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3192, allocations: 0 / 0.5628 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.3192, allocations: 7.938 kB / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005382/0.3197, allocations: 358.4 kB / 0.5631 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3197, allocations: 8.031 kB / 0.5631 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.3198, allocations: 7.984 kB / 0.5632 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.3198, allocations: 7.938 kB / 0.5632 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3198, allocations: 7.938 kB / 0.5632 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3198, allocations: 0 / 0.5632 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3198, allocations: 4 kB / 0.5632 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.3201, allocations: 196.3 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.3201, allocations: 15.91 kB / 0.5634 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.3201, allocations: 7.938 kB / 0.5634 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.3202, allocations: 3.984 kB / 0.5634 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.3202, allocations: 4 kB / 0.5634 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.3202, allocations: 7.984 kB / 0.5634 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.3203, allocations: 128.1 kB / 0.5635 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3203, allocations: 0 / 0.5635 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.3206, allocations: 23.94 kB / 0.5635 GB, free: 0.8438 MB / 398.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.002184/0.3228, allocations: 1.097 MB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.323, allocations: 59.91 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.323, allocations: 0 / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.055e-05/0.323, allocations: 27.92 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3234, allocations: 41.31 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.3252, allocations: 1.594 MB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.3256, allocations: 0.6963 MB / 0.567 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.38e-05/0.3257, allocations: 16.97 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.3257, allocations: 35.42 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3257, allocations: 4 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.3553, allocations: 3.519 MB / 0.5705 GB, free: 9.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.51, allocations: 7.25 kB / 0.5705 GB, free: 9.855 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.52741701202467]