Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009993/0.009993, allocations: 100.2 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 191.5 kB / 16.78 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.1 MB / 222.7 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2986/0.2986, allocations: 43.49 MB / 313.5 MB, free: 8.52 MB / 254.1 MB 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.001261/0.001262, allocations: 66.56 kB / 382.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08864/0.08991, allocations: 57.78 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002971/0.09293, allocations: 1.753 MB / 441.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.0946, allocations: 1.379 MB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.09468, allocations: 0 / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.09493, allocations: 35.89 kB / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.09511, allocations: 51.77 kB / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.09532, allocations: 79.84 kB / 443.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.09547, allocations: 99.69 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.759e-05/0.09555, allocations: 20.2 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.982e-05/0.09563, allocations: 35.84 kB / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.09577, allocations: 47.77 kB / 443.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.0958, allocations: 4 kB / 443.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.09591, allocations: 55.97 kB / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.09596, allocations: 23.86 kB / 443.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.09601, allocations: 27.8 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.0962, allocations: 127.9 kB / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.09621, allocations: 3.984 kB / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.09622, allocations: 0 / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.09623, allocations: 8 kB / 443.7 MB, free: 10.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004718/0.09671, allocations: 407.1 kB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.09675, allocations: 8.031 kB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.09678, allocations: 38.73 kB / 444.1 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.09683, allocations: 8.844 kB / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.09703, allocations: 220.3 kB / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.09705, allocations: 0 / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.09707, allocations: 4 kB / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.09723, allocations: 79.38 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.09725, allocations: 0 / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.09727, allocations: 0 / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.09728, allocations: 4 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.014e-05/0.09737, allocations: 27.98 kB / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.09771, allocations: 300.6 kB / 444.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.0979, allocations: 70.67 kB / 444.8 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/0.09798, allocations: 28.84 kB / 444.8 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.09801, allocations: 3.938 kB / 444.8 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.09821, allocations: 83.38 kB / 444.9 MB, free: 9.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.684e-06/0.09822, allocations: 0 / 444.9 MB, free: 9.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005332/0.09876, allocations: 197.3 kB / 445.1 MB, free: 9.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.09882, allocations: 81.05 kB / 445.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.09895, allocations: 158.4 kB / 445.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.09897, allocations: 25.7 kB / 445.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.09902, allocations: 96.09 kB / 445.5 MB, free: 8.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.09906, allocations: 31.55 kB / 445.5 MB, free: 8.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.09911, allocations: 25.72 kB / 445.5 MB, free: 8.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.962e-05/0.0992, allocations: 322.8 kB / 445.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.09927, allocations: 27.98 kB / 445.9 MB, free: 8.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.106e-05/0.09935, allocations: 50.56 kB / 445.9 MB, free: 8.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.09948, allocations: 65.64 kB / 446 MB, free: 8.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.09949, allocations: 0 / 446 MB, free: 8.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002055/0.0997, allocations: 113.5 kB / 446.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.09973, allocations: 16 kB / 446.1 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.09974, allocations: 3.938 kB / 446.1 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.09975, allocations: 0 / 446.1 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.09984, allocations: 19.98 kB / 446.1 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.09985, allocations: 7.938 kB / 446.1 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.09991, allocations: 4 kB / 446.1 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.09992, allocations: 8.188 kB / 446.1 MB, free: 8.219 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 (11): * Single equations (assignments): 11 * 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 7.773e-05/0.1, allocations: 117.8 kB / 446.3 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.1, allocations: 15.84 kB / 446.3 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.1001, allocations: 20.66 kB / 446.3 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1001, allocations: 0 / 446.3 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1001, allocations: 0 / 446.3 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1001, allocations: 3.984 kB / 446.3 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.1005, allocations: 419.1 kB / 446.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1005, allocations: 0 / 446.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.1006, allocations: 12 kB / 446.7 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1006, allocations: 0 / 446.7 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1006, allocations: 8.031 kB / 446.7 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1006, allocations: 0 / 446.7 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1006, allocations: 0 / 446.7 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1009, allocations: 216.2 kB / 446.9 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.1009, allocations: 85.02 kB / 447 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1009, allocations: 4 kB / 447 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.101, allocations: 8 kB / 447 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.101, allocations: 11.92 kB / 447.1 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.1011, allocations: 8 kB / 447.1 MB, free: 7.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.441e-05/0.1012, allocations: 123.9 kB / 447.2 MB, free: 7.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1012, allocations: 0 / 447.2 MB, free: 7.082 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1014, allocations: 31.98 kB / 447.2 MB, free: 7.051 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.001385/0.1028, allocations: 1.164 MB / 448.4 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.103, allocations: 71.91 kB / 448.4 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.103, allocations: 0 / 448.4 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.639e-05/0.1031, allocations: 35.98 kB / 448.5 MB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1034, allocations: 23.92 kB / 448.5 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.1049, allocations: 1.631 MB / 450.1 MB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.1052, allocations: 0.7043 MB / 450.8 MB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.916e-05/0.1052, allocations: 16.95 kB / 450.9 MB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.1053, allocations: 35.42 kB / 450.9 MB, free: 3.266 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1053, allocations: 0 / 450.9 MB, free: 3.266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1585/0.2638, allocations: 3.438 MB / 454.3 MB, free: 48.63 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.2639, allocations: 239.1 kB / 454.6 MB, free: 48.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.065, allocations: 2.734 kB / 454.6 MB, free: 48.38 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches