Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001755/0.001755, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002179/0.002179, allocations: 214 kB / 24.52 MB, free: 3.914 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.719 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.2299/0.2299, allocations: 46.95 MB / 361.7 MB, free: 4.023 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.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.91 kB / 0.4969 GB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3414, allocations: 66.03 MB / 0.5614 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003495/0.3449, allocations: 1.905 MB / 0.5633 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3466, allocations: 1.007 MB / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.443e-05/0.3467, allocations: 7.938 kB / 0.5643 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.347, allocations: 47.7 kB / 0.5643 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.3473, allocations: 99.47 kB / 0.5644 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.3475, allocations: 91.72 kB / 0.5645 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.3477, allocations: 151.5 kB / 0.5646 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3478, allocations: 23.56 kB / 0.5647 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3479, allocations: 63.7 kB / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.817e-05/0.348, allocations: 47.72 kB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.3481, allocations: 8 kB / 0.5648 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.3482, allocations: 55.92 kB / 0.5648 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.3482, allocations: 23.91 kB / 0.5648 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.685e-05/0.3483, allocations: 43.73 kB / 0.5649 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.3486, allocations: 155.3 kB / 0.565 GB, free: 368 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3486, allocations: 0 / 0.565 GB, free: 368 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3486, allocations: 0 / 0.565 GB, free: 368 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.3486, allocations: 0 / 0.565 GB, free: 368 kB / 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.0006537/0.3492, allocations: 415 kB / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3493, allocations: 11.97 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.312e-05/0.3493, allocations: 4.188 kB / 0.5654 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.3493, allocations: 42.73 kB / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.3494, allocations: 16.84 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.3497, allocations: 171.1 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3497, allocations: 8.062 kB / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.3497, allocations: 12 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.35, allocations: 125.9 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.35, allocations: 0 / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.35, allocations: 4 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.35, allocations: 0 / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.3502, allocations: 55.91 kB / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.3508, allocations: 484 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.3511, allocations: 86.66 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3512, allocations: 44.81 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.3512, allocations: 0 / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.3515, allocations: 113 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3515, allocations: 0 / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004401/0.3519, allocations: 153.4 kB / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.3519, allocations: 51.41 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.3522, allocations: 207.1 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.3522, allocations: 25.7 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.769e-05/0.3523, allocations: 116.1 kB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.3523, allocations: 35.72 kB / 0.5671 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.3524, allocations: 29.72 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3525, allocations: 334.8 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.402e-05/0.3526, allocations: 27.98 kB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.3527, allocations: 64.02 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.3529, allocations: 100.2 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3529, allocations: 0 / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002902/0.3532, allocations: 149.7 kB / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3533, allocations: 4 kB / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.3533, allocations: 4 kB / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3533, allocations: 7.938 kB / 0.5678 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.3534, allocations: 27.92 kB / 0.5678 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.3534, allocations: 4 kB / 0.5678 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.011e-05/0.3535, allocations: 11.89 kB / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3535, allocations: 4.125 kB / 0.5679 GB, free: 13.21 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.0001161/0.3536, allocations: 140.4 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.3536, allocations: 11.91 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.3539, allocations: 138.9 kB / 0.5681 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3539, allocations: 0 / 0.5681 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3539, allocations: 0 / 0.5681 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.3539, allocations: 4 kB / 0.5681 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.3541, allocations: 172.7 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3541, allocations: 0 / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.257e-05/0.3542, allocations: 12 kB / 0.5683 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3542, allocations: 4 kB / 0.5683 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3542, allocations: 11.92 kB / 0.5683 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3542, allocations: 0 / 0.5683 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3542, allocations: 0 / 0.5683 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.3546, allocations: 188.9 kB / 0.5685 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.3547, allocations: 19.86 kB / 0.5685 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.3547, allocations: 7.938 kB / 0.5685 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.3548, allocations: 4 kB / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.3548, allocations: 12.05 kB / 0.5685 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.3548, allocations: 4.281 kB / 0.5686 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.355, allocations: 155.2 kB / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.355, allocations: 0 / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.3552, allocations: 27.94 kB / 0.5687 GB, free: 12.24 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 (10): * Single equations (assignments): 8 * 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.002224/0.3574, allocations: 1.053 MB / 0.5698 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.3577, allocations: 87.95 kB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3577, allocations: 0 / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.3578, allocations: 39.92 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.3581, allocations: 46.88 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.3603, allocations: 1.773 MB / 0.5717 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.3604, allocations: 101.8 kB / 0.5717 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.882e-05/0.3604, allocations: 25.39 kB / 0.5718 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.039e-05/0.3605, allocations: 43.42 kB / 0.5718 GB, free: 9.105 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3605, allocations: 4 kB / 0.5718 GB, free: 9.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.3865, allocations: 4.214 MB / 0.5759 GB, free: 4.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.98, allocations: 4 kB / 0.5759 GB, free: 4.961 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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: 15.121532939956523]