Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001305/0.001305, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001387/0.001387, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2399/0.2399, allocations: 46.95 MB / 360.9 MB, free: 4.125 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.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.91 kB / 0.4962 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3285, allocations: 66.04 MB / 0.5607 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003978/0.3325, allocations: 1.866 MB / 0.5625 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.335, allocations: 1.077 MB / 0.5635 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.3351, allocations: 0 / 0.5635 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005686/0.3357, allocations: 231.3 kB / 0.5638 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005676/0.3363, allocations: 215.2 kB / 0.564 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.3366, allocations: 115.7 kB / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.337, allocations: 263.2 kB / 0.5643 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3371, allocations: 20.06 kB / 0.5644 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.3373, allocations: 119.5 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.3375, allocations: 171.4 kB / 0.5646 GB, free: 276 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.3375, allocations: 11.98 kB / 0.5646 GB, free: 264 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.3376, allocations: 67.92 kB / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3377, allocations: 59.77 kB / 0.5648 GB, free: 136 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.497e-05/0.3378, allocations: 71.47 kB / 0.5648 GB, free: 64 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.3382, allocations: 250.9 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3382, allocations: 0 / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3382, allocations: 0 / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3382, allocations: 0 / 0.5651 GB, free: 15.81 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.0008319/0.3391, allocations: 0.5003 MB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3391, allocations: 12.03 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.6e-05/0.3392, allocations: 38.75 kB / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/0.3392, allocations: 28.75 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.3396, allocations: 230.4 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3397, allocations: 8.375 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.3397, allocations: 11.88 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.34, allocations: 110.2 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.34, allocations: 4 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.34, allocations: 4 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.34, allocations: 4 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.3402, allocations: 55.89 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000661/0.3408, allocations: 439.9 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.3412, allocations: 121.2 kB / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3413, allocations: 41.83 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.3414, allocations: 11.92 kB / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.3416, allocations: 113.1 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.3416, allocations: 4 kB / 0.5667 GB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.00139/0.343, allocations: 0.5209 MB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.3431, allocations: 89.05 kB / 0.5673 GB, free: 13.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/0.3436, allocations: 456.5 kB / 0.5678 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.3436, allocations: 29.7 kB / 0.5678 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.3438, allocations: 160.5 kB / 0.568 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.5e-05/0.3438, allocations: 79.41 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.3439, allocations: 45.7 kB / 0.5681 GB, free: 12.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.3441, allocations: 346.8 kB / 0.5684 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.3443, allocations: 59.97 kB / 0.5685 GB, free: 12.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.3444, allocations: 87.41 kB / 0.5685 GB, free: 12.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.3447, allocations: 163.5 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3447, allocations: 4 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000453/0.3452, allocations: 245.3 kB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3452, allocations: 4 kB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3452, allocations: 0 / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3452, allocations: 7.938 kB / 0.5689 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3454, allocations: 39.98 kB / 0.569 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3454, allocations: 0 / 0.569 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.064e-05/0.3455, allocations: 19.88 kB / 0.569 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.3455, allocations: 8 kB / 0.569 GB, free: 11.52 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.0001729/0.3457, allocations: 170.3 kB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.3457, allocations: 31.75 kB / 0.5692 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005682/0.3463, allocations: 284.5 kB / 0.5695 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3463, allocations: 4 kB / 0.5695 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3463, allocations: 3.938 kB / 0.5695 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3463, allocations: 0 / 0.5695 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.3474, allocations: 0.7106 MB / 0.5702 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3474, allocations: 0 / 0.5702 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.611e-05/0.3475, allocations: 32.11 kB / 0.5702 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3475, allocations: 11.94 kB / 0.5702 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.3475, allocations: 11.98 kB / 0.5702 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3475, allocations: 0 / 0.5702 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.3475, allocations: 7.938 kB / 0.5702 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005688/0.3481, allocations: 443.4 kB / 0.5707 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.3481, allocations: 27.77 kB / 0.5707 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.3482, allocations: 8 kB / 0.5707 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.3483, allocations: 15.92 kB / 0.5707 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.3484, allocations: 19.97 kB / 0.5707 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.3484, allocations: 16 kB / 0.5707 GB, free: 9.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003606/0.3488, allocations: 339 kB / 0.5711 GB, free: 9.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3488, allocations: 0 / 0.5711 GB, free: 9.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003678/0.3491, allocations: 47.92 kB / 0.5711 GB, free: 9.254 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.002898/0.352, allocations: 1.434 MB / 0.5725 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000392/0.3524, allocations: 159.8 kB / 0.5727 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3524, allocations: 0 / 0.5727 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.3526, allocations: 83.78 kB / 0.5727 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.3532, allocations: 71.09 kB / 0.5728 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/0.357, allocations: 2.904 MB / 0.5757 GB, free: 4.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.3572, allocations: 178 kB / 0.5758 GB, free: 4.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.3573, allocations: 45.91 kB / 0.5759 GB, free: 4.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.3575, allocations: 99.39 kB / 0.576 GB, free: 4.375 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3575, allocations: 0 / 0.576 GB, free: 4.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03994/0.3974, allocations: 7.238 MB / 0.583 GB, free: 13.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.78, allocations: 15.98 kB / 0.583 GB, free: 13.2 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.78381226863712]