Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.00192/0.00192, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002387/0.002387, allocations: 216.2 kB / 23.73 MB, free: 4.531 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.2305/0.2305, allocations: 46.95 MB / 360.9 MB, free: 4.043 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.Test79,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.88 kB / 0.4962 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3014, allocations: 66.03 MB / 0.5607 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003242/0.3047, allocations: 1.87 MB / 0.5625 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.3066, allocations: 1.084 MB / 0.5635 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.958e-05/0.3066, allocations: 3.938 kB / 0.5635 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.3071, allocations: 219.4 kB / 0.5638 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004304/0.3075, allocations: 231.2 kB / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.3077, allocations: 115.6 kB / 0.5641 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.3081, allocations: 255.3 kB / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3082, allocations: 27.77 kB / 0.5644 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.3083, allocations: 119.5 kB / 0.5645 GB, free: 288 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.3085, allocations: 171.4 kB / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.3086, allocations: 12 kB / 0.5646 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.3087, allocations: 63.97 kB / 0.5647 GB, free: 40 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.3088, allocations: 59.84 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.058e-05/0.3089, allocations: 71.33 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.3092, allocations: 250.8 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3092, allocations: 0 / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3092, allocations: 0 / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3092, allocations: 0 / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007318/0.3099, allocations: 0.508 MB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.31, allocations: 8.031 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.388e-05/0.31, allocations: 38.75 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.3101, allocations: 28.75 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.3104, allocations: 222.5 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3104, allocations: 4.375 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.3105, allocations: 15.94 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.3107, allocations: 123.2 kB / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3107, allocations: 0 / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3107, allocations: 0 / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.3108, allocations: 4 kB / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.3109, allocations: 47.95 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.3115, allocations: 439.9 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.3119, allocations: 121.2 kB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.312, allocations: 45.83 kB / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.312, allocations: 4 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.3122, allocations: 121.2 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.3122, allocations: 0 / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001368/0.3136, allocations: 0.524 MB / 0.5672 GB, free: 13.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.3137, allocations: 85.05 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.3141, allocations: 456.5 kB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.3142, allocations: 29.7 kB / 0.5678 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3143, allocations: 164.5 kB / 0.568 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.977e-05/0.3144, allocations: 71.42 kB / 0.568 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.988e-05/0.3144, allocations: 45.7 kB / 0.5681 GB, free: 12.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3146, allocations: 342.8 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3147, allocations: 59.97 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.3149, allocations: 91.41 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.3152, allocations: 167.5 kB / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.3152, allocations: 0 / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004279/0.3156, allocations: 249.1 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3156, allocations: 4 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3156, allocations: 4 kB / 0.5689 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3157, allocations: 0 / 0.5689 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3158, allocations: 43.92 kB / 0.569 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3158, allocations: 3.984 kB / 0.569 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-05/0.3159, allocations: 16.02 kB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.3159, allocations: 12 kB / 0.569 GB, free: 11.37 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001613/0.3161, allocations: 170.3 kB / 0.5692 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.3162, allocations: 35.75 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005621/0.3167, allocations: 277.3 kB / 0.5695 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3167, allocations: 4 kB / 0.5695 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3167, allocations: 3.938 kB / 0.5695 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3167, allocations: 0 / 0.5695 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009974/0.3177, allocations: 0.7107 MB / 0.5702 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.3177, allocations: 4 kB / 0.5702 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.3178, allocations: 39.92 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.3178, allocations: 4 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.3179, allocations: 7.984 kB / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3179, allocations: 4.188 kB / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3179, allocations: 3.938 kB / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.3184, allocations: 447.5 kB / 0.5707 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.3185, allocations: 31.77 kB / 0.5707 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.3185, allocations: 8 kB / 0.5707 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.3187, allocations: 15.92 kB / 0.5707 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.3187, allocations: 19.97 kB / 0.5707 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.3187, allocations: 11.94 kB / 0.5707 GB, free: 9.484 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003514/0.3191, allocations: 343 kB / 0.5711 GB, free: 9.148 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3191, allocations: 0 / 0.5711 GB, free: 9.148 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003614/0.3194, allocations: 51.94 kB / 0.5711 GB, free: 9.098 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002768/0.3222, allocations: 1.435 MB / 0.5725 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003559/0.3226, allocations: 155.8 kB / 0.5727 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3226, allocations: 3.938 kB / 0.5727 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.3227, allocations: 79.84 kB / 0.5728 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.3233, allocations: 72.39 kB / 0.5728 GB, free: 7.578 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.3268, allocations: 2.905 MB / 0.5757 GB, free: 4.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.327, allocations: 177.9 kB / 0.5758 GB, free: 4.355 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.3271, allocations: 37.91 kB / 0.5759 GB, free: 4.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3272, allocations: 103.4 kB / 0.576 GB, free: 4.219 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3272, allocations: 0 / 0.576 GB, free: 4.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.3609, allocations: 7.307 MB / 0.5831 GB, free: 12.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.3, allocations: 4.062 kB / 0.5831 GB, free: 12.98 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.28212805200019]