Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.00144, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.506/1.506, allocations: 222.9 MB / 241.6 MB, free: 11 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.001478/0.001478, allocations: 93.3 kB / 291.9 MB, free: 10.96 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.3602/0.3602, allocations: 44.13 MB / 386.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001454, allocations: 51.92 kB / 457.7 MB, free: 2.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3947, allocations: 60.81 MB / 0.5064 GB, free: 38.5 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002606/0.3974, allocations: 1.621 MB / 0.508 GB, free: 37.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3985, allocations: 0.9931 MB / 0.5089 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.3986, allocations: 1.219 kB / 0.5089 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.3988, allocations: 22.25 kB / 0.509 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.3989, allocations: 36.5 kB / 0.509 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.3991, allocations: 78.73 kB / 0.5091 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3993, allocations: 50.2 kB / 0.5091 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.583e-05/0.3994, allocations: 12.86 kB / 0.5091 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.309e-05/0.3994, allocations: 27.05 kB / 0.5092 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.3995, allocations: 26.45 kB / 0.5092 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3996, allocations: 2.219 kB / 0.5092 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.47e-05/0.3997, allocations: 52.64 kB / 0.5092 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.3997, allocations: 11.12 kB / 0.5092 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.3997, allocations: 20.3 kB / 0.5093 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.3999, allocations: 85.42 kB / 0.5093 GB, free: 36.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3999, allocations: 2.812 kB / 0.5093 GB, free: 36.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.3999, allocations: 0 / 0.5093 GB, free: 36.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3999, allocations: 0 / 0.5093 GB, free: 36.49 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003662/0.4003, allocations: 386.9 kB / 0.5097 GB, free: 36.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.4003, allocations: 8.562 kB / 0.5097 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.4004, allocations: 7.656 kB / 0.5097 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.4005, allocations: 187.4 kB / 0.5099 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.4005, allocations: 384 / 0.5099 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.4005, allocations: 3.25 kB / 0.5099 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.4007, allocations: 65.38 kB / 0.51 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4007, allocations: 0 / 0.51 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.4007, allocations: 0 / 0.51 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4007, allocations: 7.922 kB / 0.51 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.4008, allocations: 26.31 kB / 0.51 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.4011, allocations: 270.6 kB / 0.5103 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.4013, allocations: 39.12 kB / 0.5103 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.4013, allocations: 18.27 kB / 0.5103 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.4013, allocations: 3.938 kB / 0.5103 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.4014, allocations: 41.41 kB / 0.5104 GB, free: 35.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4014, allocations: 0 / 0.5104 GB, free: 35.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004644/0.4018, allocations: 132.5 kB / 0.5105 GB, free: 35.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.4019, allocations: 83.92 kB / 0.5106 GB, free: 35.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.236e-05/0.402, allocations: 132.8 kB / 0.5107 GB, free: 35.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.402, allocations: 29.7 kB / 0.5107 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.402, allocations: 98.03 kB / 0.5108 GB, free: 35.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.402, allocations: 11.75 kB / 0.5108 GB, free: 35.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.4021, allocations: 22.7 kB / 0.5109 GB, free: 35.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.4021, allocations: 328.8 kB / 0.5112 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.4022, allocations: 15.61 kB / 0.5112 GB, free: 34.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.4023, allocations: 31.2 kB / 0.5112 GB, free: 34.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.4024, allocations: 50.2 kB / 0.5113 GB, free: 34.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4024, allocations: 0 / 0.5113 GB, free: 34.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001477/0.4025, allocations: 86.94 kB / 0.5113 GB, free: 34.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4026, allocations: 5.75 kB / 0.5113 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4026, allocations: 0 / 0.5113 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.4026, allocations: 0 / 0.5113 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.4026, allocations: 11.8 kB / 0.5114 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.4027, allocations: 4 kB / 0.5114 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.4027, allocations: 7.297 kB / 0.5114 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.4027, allocations: 3.219 kB / 0.5114 GB, free: 34.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.216e-05/0.4028, allocations: 117.8 kB / 0.5115 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.4028, allocations: 6.938 kB / 0.5115 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.403, allocations: 93.45 kB / 0.5116 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.403, allocations: 4 kB / 0.5116 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.403, allocations: 0 / 0.5116 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.403, allocations: 2.781 kB / 0.5116 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.4033, allocations: 342.5 kB / 0.5119 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4033, allocations: 0 / 0.5119 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.656e-05/0.4034, allocations: 10.75 kB / 0.5119 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4034, allocations: 0 / 0.5119 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4034, allocations: 3.469 kB / 0.5119 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.4034, allocations: 10.5 kB / 0.5119 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4034, allocations: 7.875 kB / 0.5119 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.4038, allocations: 0.7478 MB / 0.5127 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.4038, allocations: 81.02 kB / 0.5128 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.4038, allocations: 6.781 kB / 0.5128 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.4039, allocations: 10.45 kB / 0.5128 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.4039, allocations: 2.812 kB / 0.5128 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.4039, allocations: 0 / 0.5128 GB, free: 33.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.138e-05/0.404, allocations: 106.9 kB / 0.5129 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.404, allocations: 0 / 0.5129 GB, free: 33.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003264/0.4043, allocations: 24.06 kB / 0.5129 GB, free: 33.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008367/0.4052, allocations: 444.3 kB / 0.5133 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.4053, allocations: 43.53 kB / 0.5134 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4054, allocations: 0 / 0.5134 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.406e-05/0.4054, allocations: 32.12 kB / 0.5134 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.4057, allocations: 28.8 kB / 0.5134 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.4061, allocations: 287.3 kB / 0.5137 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.4062, allocations: 0.6902 MB / 0.5144 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.095e-05/0.4062, allocations: 13.73 kB / 0.5144 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.4063, allocations: 16.52 kB / 0.5144 GB, free: 31.91 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.4063, allocations: 0 / 0.5144 GB, free: 31.91 MB / 378.7 MB Notification: Performance of Templates: time 0.003033/0.4093, allocations: 1.316 MB / 0.5157 GB, free: 31.75 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches