Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 110.9 kB / 17.08 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 191.7 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.1 MB / 227.9 MB, free: 4.363 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3568/0.3568, allocations: 43.5 MB / 320.8 MB, free: 8.992 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 79.47 kB / 450.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3401, allocations: 57.77 MB / 0.496 GB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002851/0.343, allocations: 1.664 MB / 0.4976 GB, free: 18.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3442, allocations: 0.7789 MB / 0.4984 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.299e-05/0.3443, allocations: 5.219 kB / 0.4984 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.3446, allocations: 71.52 kB / 0.4984 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.3449, allocations: 63.28 kB / 0.4985 GB, free: 17.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.3451, allocations: 79.28 kB / 0.4986 GB, free: 17.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.3453, allocations: 104.2 kB / 0.4987 GB, free: 17.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/0.3453, allocations: 16.58 kB / 0.4987 GB, free: 17.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.373e-05/0.3454, allocations: 46.7 kB / 0.4987 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.574e-05/0.3455, allocations: 43.06 kB / 0.4988 GB, free: 17.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3455, allocations: 3.312 kB / 0.4988 GB, free: 17.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.71e-05/0.3456, allocations: 27.16 kB / 0.4988 GB, free: 17.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.3457, allocations: 22.09 kB / 0.4988 GB, free: 17.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.3457, allocations: 31.69 kB / 0.4988 GB, free: 17.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.3459, allocations: 105.7 kB / 0.4989 GB, free: 17.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.346, allocations: 0.9688 kB / 0.4989 GB, free: 17.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.346, allocations: 0 / 0.4989 GB, free: 17.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.346, allocations: 0 / 0.4989 GB, free: 17.17 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004633/0.3464, allocations: 402.2 kB / 0.4993 GB, free: 16.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3465, allocations: 13.58 kB / 0.4993 GB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.3465, allocations: 31.84 kB / 0.4994 GB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.3466, allocations: 21.2 kB / 0.4994 GB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.3469, allocations: 202.5 kB / 0.4996 GB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3469, allocations: 5.5 kB / 0.4996 GB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3469, allocations: 5.125 kB / 0.4996 GB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3471, allocations: 51.67 kB / 0.4996 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3471, allocations: 0 / 0.4996 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3471, allocations: 1.156 kB / 0.4996 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3471, allocations: 7.938 kB / 0.4997 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.737e-05/0.3472, allocations: 16.48 kB / 0.4997 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.3474, allocations: 178 kB / 0.4998 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.3476, allocations: 56.27 kB / 0.4999 GB, free: 16.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.3476, allocations: 19.8 kB / 0.4999 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3477, allocations: 5.562 kB / 0.4999 GB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.3478, allocations: 64.45 kB / 0.5 GB, free: 16.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3478, allocations: 0 / 0.5 GB, free: 16.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002744/0.3481, allocations: 94.98 kB / 0.5001 GB, free: 16.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.3481, allocations: 52.53 kB / 0.5001 GB, free: 15.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.3483, allocations: 194 kB / 0.5003 GB, free: 15.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.3483, allocations: 25.7 kB / 0.5003 GB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.3484, allocations: 105.1 kB / 0.5004 GB, free: 15.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.3484, allocations: 14.53 kB / 0.5004 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.3484, allocations: 22.48 kB / 0.5005 GB, free: 15.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.3485, allocations: 322.3 kB / 0.5008 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-05/0.3485, allocations: 11.31 kB / 0.5008 GB, free: 15.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.917e-05/0.3486, allocations: 27.45 kB / 0.5008 GB, free: 15.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.265e-05/0.3487, allocations: 51.8 kB / 0.5009 GB, free: 15.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3487, allocations: 3.938 kB / 0.5009 GB, free: 15.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001458/0.3489, allocations: 83.47 kB / 0.5009 GB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3489, allocations: 5.344 kB / 0.501 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3489, allocations: 0 / 0.501 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3489, allocations: 1.031 kB / 0.501 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.305e-05/0.349, allocations: 8.875 kB / 0.501 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.349, allocations: 5.078 kB / 0.501 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.3491, allocations: 6.25 kB / 0.501 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3491, allocations: 10.25 kB / 0.501 GB, free: 15.17 MB / 382.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 (7): * Single equations (assignments): 7 * 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 8.354e-05/0.3492, allocations: 126.7 kB / 0.5011 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.3492, allocations: 12.31 kB / 0.5011 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.3492, allocations: 12.94 kB / 0.5011 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3492, allocations: 1.156 kB / 0.5011 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3493, allocations: 0 / 0.5011 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3493, allocations: 3.984 kB / 0.5011 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.3494, allocations: 188.3 kB / 0.5013 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3494, allocations: 5.078 kB / 0.5013 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.3494, allocations: 7.281 kB / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3494, allocations: 0 / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3494, allocations: 1.219 kB / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3495, allocations: 1.094 kB / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3495, allocations: 0 / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.3496, allocations: 114 kB / 0.5014 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.3497, allocations: 91.44 kB / 0.5015 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.3497, allocations: 1.188 kB / 0.5015 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.324e-05/0.3497, allocations: 5.188 kB / 0.5015 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.3498, allocations: 6.328 kB / 0.5015 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.3498, allocations: 2.312 kB / 0.5015 GB, free: 14.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.49e-05/0.3499, allocations: 145 kB / 0.5017 GB, free: 14.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3499, allocations: 0 / 0.5017 GB, free: 14.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.3501, allocations: 21.38 kB / 0.5017 GB, free: 14.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001648/0.3518, allocations: 0.9617 MB / 0.5026 GB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.352, allocations: 43.77 kB / 0.5027 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.352, allocations: 0 / 0.5027 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.191e-05/0.352, allocations: 19.55 kB / 0.5027 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.3523, allocations: 27.92 kB / 0.5027 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3537, allocations: 1.479 MB / 0.5042 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.3538, allocations: 0.6943 MB / 0.5048 GB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.671e-05/0.3539, allocations: 19.78 kB / 0.5049 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.354, allocations: 33.23 kB / 0.5049 GB, free: 11.49 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.354, allocations: 0 / 0.5049 GB, free: 11.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.379, allocations: 3.049 MB / 0.5079 GB, free: 9.707 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/8.484, allocations: 8.969 kB / 0.5079 GB, free: 9.699 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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: 11.462464038049802]