Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001254/0.001254, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001413/0.001413, allocations: 205.5 kB / 23.73 MB, free: 4.379 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2278/0.2278, allocations: 46.96 MB / 360.9 MB, free: 4.047 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.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 59.89 kB / 0.4962 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3263, allocations: 66.05 MB / 0.5607 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.00311/0.3295, allocations: 1.726 MB / 0.5624 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.3311, allocations: 0.9705 MB / 0.5633 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.3312, allocations: 0 / 0.5633 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.3315, allocations: 111.7 kB / 0.5634 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.3318, allocations: 131.5 kB / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.332, allocations: 83.66 kB / 0.5636 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.3322, allocations: 123.7 kB / 0.5637 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.3323, allocations: 13.81 kB / 0.5637 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.543e-05/0.3324, allocations: 63.7 kB / 0.5638 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3325, allocations: 67.8 kB / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3325, allocations: 4 kB / 0.5639 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.3326, allocations: 67.97 kB / 0.5639 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.3327, allocations: 31.8 kB / 0.564 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.3327, allocations: 35.73 kB / 0.564 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.333, allocations: 147.3 kB / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.333, allocations: 0 / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.333, allocations: 0 / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.333, allocations: 0 / 0.5641 GB, free: 0.625 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000532/0.3335, allocations: 377.3 kB / 0.5645 GB, free: 232 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3336, allocations: 12.03 kB / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.3336, allocations: 34.75 kB / 0.5645 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.3337, allocations: 20.84 kB / 0.5646 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.3339, allocations: 180.2 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.3339, allocations: 10.38 kB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.334, allocations: 0 / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3341, allocations: 57.67 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3341, allocations: 0 / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3341, allocations: 8 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3341, allocations: 0 / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.3e-05/0.3342, allocations: 27.91 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.3346, allocations: 275.8 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.3349, allocations: 66.55 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.3349, allocations: 16.98 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.3349, allocations: 3.984 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.3351, allocations: 75.39 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.3351, allocations: 3.938 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007575/0.3359, allocations: 245.7 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.3359, allocations: 55.34 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.3361, allocations: 250.8 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.3362, allocations: 33.7 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.3362, allocations: 120 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.3363, allocations: 39.72 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.3363, allocations: 25.72 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3365, allocations: 330.8 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.198e-05/0.3366, allocations: 27.98 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-05/0.3366, allocations: 53.14 kB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.3368, allocations: 81.64 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3368, allocations: 3.938 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002348/0.337, allocations: 133.6 kB / 0.5666 GB, free: 13.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.337, allocations: 4 kB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3371, allocations: 240 / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3371, allocations: 0 / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.3371, allocations: 27.92 kB / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3372, allocations: 3.984 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.3372, allocations: 8 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3372, allocations: 0 / 0.5666 GB, free: 13.86 MB / 414.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 (13): * Single equations (assignments): 13 * 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.0001144/0.3373, allocations: 141.7 kB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.3374, allocations: 23.89 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.3377, allocations: 155 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3377, allocations: 0 / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3377, allocations: 0 / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3377, allocations: 0 / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005824/0.3383, allocations: 427.1 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3383, allocations: 0 / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.3383, allocations: 19.98 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3383, allocations: 0 / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.3383, allocations: 12.06 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3383, allocations: 0 / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3383, allocations: 3.938 kB / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.3387, allocations: 257.2 kB / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.3387, allocations: 11.91 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.3387, allocations: 96 / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.978e-05/0.3388, allocations: 15.92 kB / 0.5677 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.3388, allocations: 11.92 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.3388, allocations: 4 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.339, allocations: 196.2 kB / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.339, allocations: 4 kB / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.3393, allocations: 35.92 kB / 0.5679 GB, free: 12.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002501/0.3418, allocations: 1.216 MB / 0.5691 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.342, allocations: 79.84 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.342, allocations: 0 / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.968e-05/0.3421, allocations: 39.92 kB / 0.5692 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.3425, allocations: 51.48 kB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.3447, allocations: 1.888 MB / 0.5711 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.959e-05/0.3448, allocations: 101.1 kB / 0.5712 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.815e-05/0.3449, allocations: 24.62 kB / 0.5712 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.124e-05/0.345, allocations: 47.41 kB / 0.5713 GB, free: 9.121 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.345, allocations: 0 / 0.5713 GB, free: 9.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.375, allocations: 4.745 MB / 0.5759 GB, free: 4.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.1, allocations: 11.16 kB / 0.5759 GB, free: 4.43 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.0637197830074]