Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002049/0.002049, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 115.5 kB / 296.7 MB, free: 6.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4568/0.4568, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 67.89 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4285, allocations: 62.02 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002824/0.4314, allocations: 1.78 MB / 0.5169 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001279/0.4316, allocations: 75.38 kB / 0.517 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.4316, allocations: 4 kB / 0.517 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.385e-05/0.4317, allocations: 13.62 kB / 0.517 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.965e-05/0.4318, allocations: 17.86 kB / 0.517 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.849e-05/0.4319, allocations: 22.23 kB / 0.517 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.432, allocations: 97.11 kB / 0.5171 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.4321, allocations: 53.69 kB / 0.5172 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.911e-05/0.4322, allocations: 33.11 kB / 0.5172 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.064e-05/0.4323, allocations: 47.66 kB / 0.5172 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.4323, allocations: 8.594 kB / 0.5172 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.679e-05/0.4323, allocations: 8.188 kB / 0.5173 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.4323, allocations: 18.05 kB / 0.5173 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.259e-05/0.4324, allocations: 51.17 kB / 0.5173 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.4325, allocations: 121.5 kB / 0.5174 GB, free: 36.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4325, allocations: 2.438 kB / 0.5174 GB, free: 36.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.4325, allocations: 0 / 0.5174 GB, free: 36.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.4326, allocations: 0 / 0.5174 GB, free: 36.28 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.00043/0.433, allocations: 392.7 kB / 0.5178 GB, free: 35.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.433, allocations: 8.656 kB / 0.5178 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.4331, allocations: 22.31 kB / 0.5178 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.887e-05/0.4332, allocations: 171.1 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4332, allocations: 7.422 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.4332, allocations: 12.88 kB / 0.518 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.4334, allocations: 131.7 kB / 0.5181 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4334, allocations: 192 / 0.5181 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.4335, allocations: 10.84 kB / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4335, allocations: 2.812 kB / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.912e-05/0.4336, allocations: 59.05 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/0.4342, allocations: 0.7274 MB / 0.5189 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.087e-05/0.4343, allocations: 176.5 kB / 0.5191 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.4343, allocations: 86.95 kB / 0.5192 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.4343, allocations: 79.22 kB / 0.5193 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.4344, allocations: 105.8 kB / 0.5194 GB, free: 34.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4344, allocations: 0 / 0.5194 GB, free: 34.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.724e-05/0.4344, allocations: 36.45 kB / 0.5194 GB, free: 34.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.4345, allocations: 129.7 kB / 0.5195 GB, free: 34.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.869e-05/0.4346, allocations: 145 kB / 0.5197 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.181e-06/0.4346, allocations: 25.7 kB / 0.5197 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.4346, allocations: 131.5 kB / 0.5198 GB, free: 33.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-06/0.4347, allocations: 3.234 kB / 0.5198 GB, free: 33.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.4347, allocations: 16.56 kB / 0.5198 GB, free: 33.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.4348, allocations: 324.9 kB / 0.5201 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.4348, allocations: 10.94 kB / 0.5201 GB, free: 33.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.4348, allocations: 45.69 kB / 0.5202 GB, free: 33.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.933e-05/0.4349, allocations: 53.25 kB / 0.5202 GB, free: 33.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4349, allocations: 0 / 0.5202 GB, free: 33.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000142/0.435, allocations: 79.06 kB / 0.5203 GB, free: 33.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.435, allocations: 5.625 kB / 0.5203 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.435, allocations: 6.938 kB / 0.5203 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4351, allocations: 4.188 kB / 0.5203 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.186e-05/0.4351, allocations: 11.88 kB / 0.5203 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4351, allocations: 6.812 kB / 0.5203 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.109e-05/0.4352, allocations: 6.844 kB / 0.5204 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.4352, allocations: 6.812 kB / 0.5204 GB, free: 33.45 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.509e-05/0.4353, allocations: 196 kB / 0.5205 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.4353, allocations: 107.9 kB / 0.5206 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.4354, allocations: 127.1 kB / 0.5208 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.622e-05/0.4354, allocations: 176.3 kB / 0.5209 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.203e-05/0.4354, allocations: 182.8 kB / 0.5211 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.821e-05/0.4355, allocations: 176.3 kB / 0.5213 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.4356, allocations: 440 kB / 0.5217 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.4357, allocations: 104.9 kB / 0.5218 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.4357, allocations: 105 kB / 0.5219 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-05/0.4357, allocations: 190.5 kB / 0.5221 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.4357, allocations: 180.3 kB / 0.5223 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.904e-05/0.4358, allocations: 180.3 kB / 0.5224 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.713e-05/0.4358, allocations: 183.1 kB / 0.5226 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.436, allocations: 0.8549 MB / 0.5234 GB, free: 30.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.4361, allocations: 188.7 kB / 0.5236 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.4361, allocations: 186.3 kB / 0.5238 GB, free: 29.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.4362, allocations: 101 kB / 0.5239 GB, free: 29.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.4362, allocations: 188.2 kB / 0.5241 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.4363, allocations: 104.6 kB / 0.5242 GB, free: 29.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.038e-05/0.4363, allocations: 107.6 kB / 0.5243 GB, free: 29.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4363, allocations: 0 / 0.5243 GB, free: 29.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003429/0.4367, allocations: 15.56 kB / 0.5243 GB, free: 29.29 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 9.668e-05/0.4368, allocations: 173.6 kB / 0.5245 GB, free: 29.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.263e-05/0.4369, allocations: 22.67 kB / 0.5245 GB, free: 29.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4369, allocations: 0 / 0.5245 GB, free: 29.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.4369, allocations: 3.938 kB / 0.5245 GB, free: 29.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.4372, allocations: 0.5248 MB / 0.525 GB, free: 28.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.4375, allocations: 282.7 kB / 0.5253 GB, free: 28.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.4377, allocations: 0.6929 MB / 0.5259 GB, free: 27.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.5e-05/0.4377, allocations: 9.969 kB / 0.5259 GB, free: 27.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.4377, allocations: 10.41 kB / 0.526 GB, free: 27.62 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4377, allocations: 0 / 0.526 GB, free: 27.62 MB / 378.7 MB Notification: Performance of Templates: time 0.002099/0.4398, allocations: 387.3 kB / 0.5263 GB, free: 27.57 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches