Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.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.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, 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.406/1.406, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001265/0.001265, allocations: 102.4 kB / 291.9 MB, free: 10.95 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.4005/0.4005, allocations: 44.12 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4062, allocations: 60.79 MB / 0.5064 GB, free: 38.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003277/0.4095, allocations: 1.764 MB / 0.5081 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001274/0.4097, allocations: 75.67 kB / 0.5082 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.4097, allocations: 0 / 0.5082 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.676e-05/0.4098, allocations: 17.12 kB / 0.5082 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.372e-05/0.4099, allocations: 17.84 kB / 0.5082 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.936e-05/0.41, allocations: 25.89 kB / 0.5082 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.4101, allocations: 92.44 kB / 0.5083 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.4103, allocations: 54.81 kB / 0.5084 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.4103, allocations: 34 kB / 0.5084 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.171e-05/0.4104, allocations: 46.06 kB / 0.5085 GB, free: 37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.4104, allocations: 8.656 kB / 0.5085 GB, free: 37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.819e-05/0.4105, allocations: 9.125 kB / 0.5085 GB, free: 37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.4105, allocations: 23.02 kB / 0.5085 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.4105, allocations: 49.64 kB / 0.5085 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.4107, allocations: 115 kB / 0.5086 GB, free: 36.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4107, allocations: 3.938 kB / 0.5087 GB, free: 36.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.4107, allocations: 0 / 0.5087 GB, free: 36.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.4107, allocations: 0 / 0.5087 GB, free: 36.91 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003845/0.4111, allocations: 394.2 kB / 0.509 GB, free: 36.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4111, allocations: 11.78 kB / 0.509 GB, free: 36.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.4112, allocations: 15.06 kB / 0.5091 GB, free: 36.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.716e-05/0.4113, allocations: 174 kB / 0.5092 GB, free: 36.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.4113, allocations: 11.56 kB / 0.5092 GB, free: 36.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.4113, allocations: 21 kB / 0.5093 GB, free: 36.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.4115, allocations: 131.8 kB / 0.5094 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.4116, allocations: 192 / 0.5094 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.4116, allocations: 10.56 kB / 0.5094 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.4116, allocations: 3.062 kB / 0.5094 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.4117, allocations: 57.61 kB / 0.5094 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.4124, allocations: 0.7377 MB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.04e-05/0.4125, allocations: 174.2 kB / 0.5103 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.4125, allocations: 85.17 kB / 0.5104 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.4125, allocations: 75.28 kB / 0.5105 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.4125, allocations: 106.7 kB / 0.5106 GB, free: 35.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4125, allocations: 4 kB / 0.5106 GB, free: 35.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.45e-05/0.4126, allocations: 33.7 kB / 0.5106 GB, free: 35.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.4126, allocations: 126.7 kB / 0.5107 GB, free: 34.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.545e-05/0.4127, allocations: 149 kB / 0.5109 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-06/0.4127, allocations: 25.7 kB / 0.5109 GB, free: 34.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.4128, allocations: 126.4 kB / 0.511 GB, free: 34.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.4128, allocations: 0 / 0.511 GB, free: 34.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.4128, allocations: 23.47 kB / 0.5111 GB, free: 34.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.4129, allocations: 326.2 kB / 0.5114 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.4129, allocations: 5.812 kB / 0.5114 GB, free: 34.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.413, allocations: 42.41 kB / 0.5114 GB, free: 34.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.914e-05/0.413, allocations: 59.75 kB / 0.5115 GB, free: 34.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.413, allocations: 0 / 0.5115 GB, free: 34.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001101/0.4131, allocations: 70.55 kB / 0.5115 GB, free: 34.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.4131, allocations: 7.406 kB / 0.5115 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.4132, allocations: 4 kB / 0.5115 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.4132, allocations: 6.266 kB / 0.5116 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.999e-05/0.4132, allocations: 12.5 kB / 0.5116 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4133, allocations: 2.875 kB / 0.5116 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.4133, allocations: 6.688 kB / 0.5116 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.4133, allocations: 10.75 kB / 0.5116 GB, free: 34.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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 6.39e-05/0.4134, allocations: 195.2 kB / 0.5118 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.4134, allocations: 115.1 kB / 0.5119 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.4135, allocations: 115.8 kB / 0.512 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.642e-05/0.4135, allocations: 180.3 kB / 0.5122 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.523e-05/0.4135, allocations: 190.4 kB / 0.5123 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.4135, allocations: 176.4 kB / 0.5125 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.4137, allocations: 444.7 kB / 0.5129 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.4137, allocations: 105 kB / 0.513 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.4138, allocations: 104.5 kB / 0.5131 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-05/0.4138, allocations: 187 kB / 0.5133 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.4138, allocations: 176.3 kB / 0.5135 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.312e-05/0.4138, allocations: 184.2 kB / 0.5137 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-05/0.4139, allocations: 179.1 kB / 0.5138 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.4141, allocations: 0.8553 MB / 0.5147 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.4141, allocations: 192.7 kB / 0.5148 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.4141, allocations: 183.1 kB / 0.515 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.4142, allocations: 108.9 kB / 0.5151 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.4143, allocations: 176.3 kB / 0.5153 GB, free: 30.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.4143, allocations: 108 kB / 0.5154 GB, free: 29.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.067e-05/0.4143, allocations: 113.1 kB / 0.5155 GB, free: 29.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4143, allocations: 0 / 0.5155 GB, free: 29.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003602/0.4147, allocations: 18.09 kB / 0.5155 GB, free: 29.9 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 (0): * Single equations (assignments): 0 * 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 8.601e-05/0.4148, allocations: 175.2 kB / 0.5157 GB, free: 29.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.773e-05/0.4149, allocations: 19.16 kB / 0.5157 GB, free: 29.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4149, allocations: 0 / 0.5157 GB, free: 29.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.4149, allocations: 0 / 0.5157 GB, free: 29.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.4152, allocations: 0.5214 MB / 0.5162 GB, free: 29.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.4155, allocations: 281.7 kB / 0.5165 GB, free: 28.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.4156, allocations: 0.6965 MB / 0.5172 GB, free: 28.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.314e-05/0.4157, allocations: 2.812 kB / 0.5172 GB, free: 28.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.4157, allocations: 10.34 kB / 0.5172 GB, free: 28.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4157, allocations: 3.938 kB / 0.5172 GB, free: 28.24 MB / 378.7 MB Notification: Performance of Templates: time 0.002354/0.4181, allocations: 397 kB / 0.5176 GB, free: 28.18 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches