Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009483/0.0009483, allocations: 95.64 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3045/0.3045, allocations: 44.22 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002859, allocations: 12 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2907, allocations: 61.9 MB / 0.5096 GB, free: 38.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.3995, allocations: 89.29 MB / 0.5968 GB, free: 5.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.3998, allocations: 83.92 kB / 0.5968 GB, free: 5.762 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01571/0.4155, allocations: 5.88 MB / 0.6026 GB, free: 15.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4156, allocations: 3.938 kB / 0.6026 GB, free: 15.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.4156, allocations: 7.938 kB / 0.6026 GB, free: 15.87 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000515/0.4161, allocations: 446.7 kB / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.4161, allocations: 8.031 kB / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.4162, allocations: 15.81 kB / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.4165, allocations: 222.7 kB / 0.6033 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.4165, allocations: 3.953 kB / 0.6033 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.4165, allocations: 4 kB / 0.6033 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.4167, allocations: 57.66 kB / 0.6033 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.4167, allocations: 0 / 0.6033 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4167, allocations: 0 / 0.6033 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.4167, allocations: 8 kB / 0.6033 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.966e-05/0.4168, allocations: 23.92 kB / 0.6034 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.4172, allocations: 312.8 kB / 0.6036 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.4174, allocations: 58.67 kB / 0.6037 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.4174, allocations: 3.984 kB / 0.6037 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.4175, allocations: 75.45 kB / 0.6038 GB, free: 14.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.4175, allocations: 0 / 0.6038 GB, free: 14.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005259/0.4181, allocations: 181 kB / 0.604 GB, free: 14.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.4181, allocations: 51.41 kB / 0.604 GB, free: 14.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.4184, allocations: 243.2 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.4184, allocations: 25.7 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.4185, allocations: 116.1 kB / 0.6044 GB, free: 13.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.4185, allocations: 27.64 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.4185, allocations: 0 / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4186, allocations: 331 kB / 0.6047 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-05/0.4187, allocations: 23.98 kB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.4188, allocations: 33.7 kB / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.904e-05/0.4189, allocations: 20 kB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4189, allocations: 4 kB / 0.6048 GB, free: 13.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003028/0.4193, allocations: 117.4 kB / 0.6049 GB, free: 13.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.4193, allocations: 5.406 kB / 0.6049 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4193, allocations: 0 / 0.6049 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.4193, allocations: 0 / 0.6049 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.4195, allocations: 19.94 kB / 0.6049 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.4195, allocations: 3.984 kB / 0.6049 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.4196, allocations: 4.188 kB / 0.6049 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.4196, allocations: 0 / 0.6049 GB, free: 13.25 MB / 426.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.4198, allocations: 148.2 kB / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.4198, allocations: 15.81 kB / 0.6051 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003444/0.4202, allocations: 119 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/0.4202, allocations: 7.938 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4202, allocations: 0 / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4202, allocations: 0 / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007124/0.4209, allocations: 443.2 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.421, allocations: 4 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.421, allocations: 11.98 kB / 0.6056 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.421, allocations: 3.984 kB / 0.6057 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4211, allocations: 0 / 0.6057 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.4211, allocations: 4 kB / 0.6057 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4211, allocations: 0 / 0.6057 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.4215, allocations: 229.8 kB / 0.6059 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.4216, allocations: 105.3 kB / 0.606 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.4216, allocations: 4 kB / 0.606 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.4218, allocations: 11.98 kB / 0.606 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.4218, allocations: 4 kB / 0.606 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.4219, allocations: 11.89 kB / 0.606 GB, free: 12.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002711/0.4221, allocations: 196.5 kB / 0.6062 GB, free: 11.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4222, allocations: 0 / 0.6062 GB, free: 11.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004665/0.4226, allocations: 43.92 kB / 0.6062 GB, free: 11.8 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001575/0.4242, allocations: 476.6 kB / 0.6067 GB, free: 11.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.4245, allocations: 63.92 kB / 0.6068 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4245, allocations: 0 / 0.6068 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.4247, allocations: 31.98 kB / 0.6068 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.425, allocations: 25.47 kB / 0.6068 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.4258, allocations: 319 kB / 0.6071 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.4261, allocations: 0.7238 MB / 0.6078 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.838e-05/0.4262, allocations: 20.56 kB / 0.6078 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.4263, allocations: 23.42 kB / 0.6079 GB, free: 10.25 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4263, allocations: 0 / 0.6079 GB, free: 10.25 MB / 426.7 MB Notification: Performance of Templates: time 0.006307/0.4326, allocations: 1.825 MB / 0.6096 GB, free: 8.449 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches