Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001359/0.001359, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001512/0.001512, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.435/1.435, allocations: 230.6 MB / 258.3 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.2702/0.2702, allocations: 46.93 MB / 361.6 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 179] 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.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.89 kB / 0.497 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.31, allocations: 66.04 MB / 0.5615 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003516/0.3135, allocations: 1.956 MB / 0.5634 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3154, allocations: 1.088 MB / 0.5645 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.248e-05/0.3154, allocations: 3.938 kB / 0.5645 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.3157, allocations: 43.72 kB / 0.5645 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.316, allocations: 99.47 kB / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.3163, allocations: 95.64 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.3165, allocations: 151.5 kB / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3166, allocations: 23.56 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.3167, allocations: 71.7 kB / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.858e-05/0.3168, allocations: 43.72 kB / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.3169, allocations: 8 kB / 0.565 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.317, allocations: 55.91 kB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.317, allocations: 19.92 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.016e-05/0.3171, allocations: 55.61 kB / 0.5651 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.3174, allocations: 159.2 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3174, allocations: 4 kB / 0.5653 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3174, allocations: 0 / 0.5653 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.3174, allocations: 0 / 0.5653 GB, free: 0.5703 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000631/0.318, allocations: 411 kB / 0.5656 GB, free: 136 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.318, allocations: 12.03 kB / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.231e-05/0.3181, allocations: 192 / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.3181, allocations: 42.73 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.3181, allocations: 16.84 kB / 0.5657 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.3185, allocations: 167.1 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.3185, allocations: 16.12 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.3185, allocations: 7.938 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.3187, allocations: 112.2 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.3188, allocations: 0 / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3188, allocations: 0 / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3188, allocations: 0 / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.3189, allocations: 51.91 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.3195, allocations: 488.1 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.3199, allocations: 82.59 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.908e-05/0.32, allocations: 44.83 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.32, allocations: 3.984 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.3202, allocations: 79.31 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.3202, allocations: 0 / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004133/0.3206, allocations: 153.4 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.3206, allocations: 55.41 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.3209, allocations: 199.2 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.3209, allocations: 29.7 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.254e-05/0.321, allocations: 116.1 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.321, allocations: 27.75 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.321, allocations: 33.7 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3212, allocations: 326.8 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.213e-05/0.3213, allocations: 31.98 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.3214, allocations: 60.27 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.3216, allocations: 100.2 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3216, allocations: 0 / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002713/0.3219, allocations: 133.4 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3219, allocations: 8 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.3219, allocations: 7.984 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3219, allocations: 3.938 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.322, allocations: 24.12 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.322, allocations: 7.984 kB / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.112e-05/0.3221, allocations: 16.36 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.3221, allocations: 4 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001132/0.3222, allocations: 132.1 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.3223, allocations: 19.89 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.3226, allocations: 130.9 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3226, allocations: 4 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.3226, allocations: 4 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3226, allocations: 3.938 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.3228, allocations: 180.7 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3228, allocations: 0 / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.723e-05/0.3228, allocations: 15.98 kB / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3228, allocations: 0 / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3229, allocations: 7.938 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3229, allocations: 0 / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3229, allocations: 4 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.3232, allocations: 180.9 kB / 0.5686 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.3233, allocations: 11.94 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.3233, allocations: 7.922 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.3234, allocations: 8 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.3234, allocations: 7.984 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.3234, allocations: 0 / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3236, allocations: 151.2 kB / 0.5688 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3236, allocations: 4 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.3238, allocations: 31.92 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.001995/0.3258, allocations: 1.011 MB / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.326, allocations: 83.77 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3261, allocations: 192 / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.3262, allocations: 39.86 kB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3265, allocations: 43.66 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.3287, allocations: 1.754 MB / 0.5717 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.329, allocations: 0.7201 MB / 0.5724 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.752e-05/0.3291, allocations: 17.41 kB / 0.5724 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.631e-05/0.3292, allocations: 43.42 kB / 0.5725 GB, free: 8.828 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3292, allocations: 0 / 0.5725 GB, free: 8.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.3543, allocations: 4.059 MB / 0.5764 GB, free: 4.852 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.54, allocations: 10.53 kB / 0.5765 GB, free: 4.848 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.70030221802881]