Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 226.6 MB / 243.4 MB, free: 6.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008361/0.0008358, allocations: 102.4 kB / 295.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3329/0.3329, allocations: 44.83 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004419/0.000442, allocations: 11.98 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.415, allocations: 62.96 MB / 0.5159 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001462/0.4165, allocations: 1.395 MB / 0.5172 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001257/0.4166, allocations: 74.42 kB / 0.5173 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.4167, allocations: 6.75 kB / 0.5173 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.269e-05/0.4167, allocations: 13.58 kB / 0.5173 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.008e-05/0.4168, allocations: 26.22 kB / 0.5173 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.651e-05/0.4169, allocations: 15.23 kB / 0.5174 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.417, allocations: 93.03 kB / 0.5175 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.4172, allocations: 51.77 kB / 0.5175 GB, free: 36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.373e-05/0.4172, allocations: 30.98 kB / 0.5175 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.4173, allocations: 41.78 kB / 0.5176 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.4173, allocations: 7.312 kB / 0.5176 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.4173, allocations: 2.812 kB / 0.5176 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.4173, allocations: 14.2 kB / 0.5176 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.4174, allocations: 73.89 kB / 0.5177 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.245e-05/0.4175, allocations: 91.33 kB / 0.5178 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4175, allocations: 0 / 0.5178 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.4175, allocations: 4 kB / 0.5178 GB, free: 35.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.4175, allocations: 3.938 kB / 0.5178 GB, free: 35.87 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.0003578/0.4179, allocations: 378.4 kB / 0.5181 GB, free: 35.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4179, allocations: 12.12 kB / 0.5181 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.418, allocations: 7.844 kB / 0.5181 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.722e-05/0.4181, allocations: 177.4 kB / 0.5183 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.4181, allocations: 7.484 kB / 0.5183 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.4181, allocations: 13.12 kB / 0.5183 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.4183, allocations: 131.9 kB / 0.5185 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.4183, allocations: 192 / 0.5185 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.4183, allocations: 7.938 kB / 0.5185 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4184, allocations: 3.125 kB / 0.5185 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.4185, allocations: 59.56 kB / 0.5185 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.4191, allocations: 0.7289 MB / 0.5192 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.819e-05/0.4191, allocations: 173.1 kB / 0.5194 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.48e-05/0.4192, allocations: 80.14 kB / 0.5195 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.4192, allocations: 75.28 kB / 0.5195 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.4192, allocations: 116.9 kB / 0.5197 GB, free: 34.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.4192, allocations: 0 / 0.5197 GB, free: 34.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.273e-05/0.4193, allocations: 36.55 kB / 0.5197 GB, free: 34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.4193, allocations: 130.7 kB / 0.5198 GB, free: 33.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.4194, allocations: 144.7 kB / 0.52 GB, free: 33.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.4194, allocations: 28.8 kB / 0.52 GB, free: 33.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.4195, allocations: 131.9 kB / 0.5201 GB, free: 33.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.4195, allocations: 0 / 0.5201 GB, free: 33.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.4195, allocations: 0 / 0.5201 GB, free: 33.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.4196, allocations: 324.5 kB / 0.5204 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.4196, allocations: 3.031 kB / 0.5204 GB, free: 33.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.296e-05/0.4196, allocations: 43.12 kB / 0.5205 GB, free: 33.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.823e-05/0.4197, allocations: 59.73 kB / 0.5205 GB, free: 33.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.4197, allocations: 0 / 0.5205 GB, free: 33.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001171/0.4198, allocations: 74.62 kB / 0.5206 GB, free: 33.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.4198, allocations: 5.625 kB / 0.5206 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4198, allocations: 0 / 0.5206 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.4198, allocations: 2.719 kB / 0.5206 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.4199, allocations: 15.89 kB / 0.5206 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.4199, allocations: 7.188 kB / 0.5206 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.42, allocations: 6.469 kB / 0.5206 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.42, allocations: 6.531 kB / 0.5206 GB, free: 33.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.456e-05/0.4201, allocations: 202.9 kB / 0.5208 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.4201, allocations: 111.8 kB / 0.5209 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.4201, allocations: 115.1 kB / 0.521 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.4202, allocations: 176.3 kB / 0.5212 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.467e-05/0.4202, allocations: 191.3 kB / 0.5214 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/0.4202, allocations: 179.5 kB / 0.5216 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.4204, allocations: 443.4 kB / 0.522 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.4204, allocations: 101 kB / 0.5221 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-05/0.4204, allocations: 104.1 kB / 0.5222 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.638e-05/0.4205, allocations: 187.2 kB / 0.5224 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.4205, allocations: 176.3 kB / 0.5225 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.699e-05/0.4205, allocations: 184.2 kB / 0.5227 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.598e-05/0.4206, allocations: 186.6 kB / 0.5229 GB, free: 30.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.812e-05/0.4206, allocations: 313.5 kB / 0.5232 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.4207, allocations: 189.1 kB / 0.5234 GB, free: 30.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.4207, allocations: 183.2 kB / 0.5235 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.4208, allocations: 101 kB / 0.5236 GB, free: 29.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.4208, allocations: 182.3 kB / 0.5238 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.4209, allocations: 104.9 kB / 0.5239 GB, free: 29.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.254e-05/0.4209, allocations: 118.9 kB / 0.524 GB, free: 29.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4209, allocations: 0 / 0.524 GB, free: 29.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.4212, allocations: 18.84 kB / 0.524 GB, free: 29.49 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 (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 7.648e-05/0.4212, allocations: 170 kB / 0.5242 GB, free: 29.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.078e-05/0.4213, allocations: 19.56 kB / 0.5242 GB, free: 29.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4213, allocations: 0 / 0.5242 GB, free: 29.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.4213, allocations: 384 / 0.5242 GB, free: 29.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.4216, allocations: 0.5286 MB / 0.5247 GB, free: 28.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.4219, allocations: 310.3 kB / 0.525 GB, free: 28.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.422, allocations: 0.6933 MB / 0.5257 GB, free: 27.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.422, allocations: 10.19 kB / 0.5257 GB, free: 27.8 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.422, allocations: 0 / 0.5257 GB, free: 27.8 MB / 378.7 MB Notification: Performance of Templates: time 0.001635/0.4237, allocations: 0.8302 MB / 0.5265 GB, free: 27.74 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.Analog.TestGyrator.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Electrical.Analog.TestGyrator --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches