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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001722/0.001722, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002438/0.002438, allocations: 200.6 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2597/0.2597, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 75.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4321, allocations: 62.44 MB / 0.531 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003328/0.4355, allocations: 1.738 MB / 0.5327 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001885/0.4357, allocations: 73.36 kB / 0.5327 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.4357, allocations: 2.75 kB / 0.5327 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.028e-05/0.4358, allocations: 21.22 kB / 0.5327 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.573e-05/0.4359, allocations: 22.48 kB / 0.5328 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.436, allocations: 22.72 kB / 0.5328 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.4362, allocations: 103.5 kB / 0.5329 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.4364, allocations: 57.17 kB / 0.5329 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.4365, allocations: 43.45 kB / 0.533 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.4366, allocations: 44.06 kB / 0.533 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.4366, allocations: 10.84 kB / 0.533 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.419e-05/0.4366, allocations: 14.22 kB / 0.5331 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.4367, allocations: 20.11 kB / 0.5331 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.262e-05/0.4368, allocations: 54.77 kB / 0.5331 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.4369, allocations: 125 kB / 0.5332 GB, free: 12.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4369, allocations: 0 / 0.5332 GB, free: 12.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.437, allocations: 0 / 0.5332 GB, free: 12.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.437, allocations: 0 / 0.5332 GB, free: 12.04 MB / 398.1 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.0005279/0.4375, allocations: 401.7 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4376, allocations: 10.22 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.4376, allocations: 14.38 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.4377, allocations: 178.4 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.4378, allocations: 10.17 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.4378, allocations: 15.03 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.4381, allocations: 127.7 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.4381, allocations: 192 / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.4381, allocations: 9.125 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.4381, allocations: 3.875 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.4383, allocations: 64.2 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009264/0.4392, allocations: 0.7316 MB / 0.5348 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.739e-05/0.4393, allocations: 166.3 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.4393, allocations: 80.14 kB / 0.535 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.4394, allocations: 80.38 kB / 0.5351 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.4394, allocations: 107 kB / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.4394, allocations: 0 / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.619e-05/0.4395, allocations: 33.02 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.4396, allocations: 126.7 kB / 0.5353 GB, free: 9.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.4397, allocations: 154.1 kB / 0.5355 GB, free: 9.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.4398, allocations: 29.69 kB / 0.5355 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.4398, allocations: 122.3 kB / 0.5356 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-06/0.4398, allocations: 5 kB / 0.5356 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.4399, allocations: 22.92 kB / 0.5356 GB, free: 9.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.44, allocations: 320 kB / 0.5359 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.4401, allocations: 11.97 kB / 0.536 GB, free: 9.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.253e-05/0.4401, allocations: 39.44 kB / 0.536 GB, free: 9.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.359e-05/0.4402, allocations: 59.42 kB / 0.536 GB, free: 9.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4402, allocations: 0 / 0.536 GB, free: 9.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001464/0.4403, allocations: 74.91 kB / 0.5361 GB, free: 9.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4404, allocations: 6.875 kB / 0.5361 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4404, allocations: 1.375 kB / 0.5361 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.4404, allocations: 5.312 kB / 0.5361 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.977e-05/0.4405, allocations: 13.62 kB / 0.5361 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4405, allocations: 1.375 kB / 0.5361 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.4405, allocations: 10.64 kB / 0.5362 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.4405, allocations: 8.062 kB / 0.5362 GB, free: 9.086 MB / 398.1 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 0.0001057/0.4407, allocations: 201.4 kB / 0.5364 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/0.4407, allocations: 109.1 kB / 0.5365 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/0.4408, allocations: 115.4 kB / 0.5366 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.407e-05/0.4409, allocations: 184.2 kB / 0.5367 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-05/0.4409, allocations: 177.6 kB / 0.5369 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.617e-05/0.441, allocations: 189.7 kB / 0.5371 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.4413, allocations: 444.2 kB / 0.5375 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.48e-05/0.4413, allocations: 102.4 kB / 0.5376 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.4414, allocations: 106.3 kB / 0.5377 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.865e-05/0.4415, allocations: 177.8 kB / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.4415, allocations: 188.2 kB / 0.5381 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.935e-05/0.4416, allocations: 181.6 kB / 0.5382 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.148e-05/0.4417, allocations: 181.6 kB / 0.5384 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.4418, allocations: 309.2 kB / 0.5387 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/0.4419, allocations: 192.7 kB / 0.5389 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/0.442, allocations: 185.6 kB / 0.5391 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.432e-05/0.4421, allocations: 101 kB / 0.5392 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.4422, allocations: 185.6 kB / 0.5393 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.4422, allocations: 102.4 kB / 0.5394 GB, free: 5.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.785e-05/0.4423, allocations: 115.1 kB / 0.5396 GB, free: 5.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4423, allocations: 0 / 0.5396 GB, free: 5.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.4425, allocations: 17.69 kB / 0.5396 GB, free: 5.453 MB / 398.1 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 0.0001169/0.4427, allocations: 170.9 kB / 0.5397 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.4427, allocations: 26.86 kB / 0.5398 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4428, allocations: 3.938 kB / 0.5398 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.175e-06/0.4428, allocations: 1.375 kB / 0.5398 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.4432, allocations: 468.8 kB / 0.5402 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.4436, allocations: 239.8 kB / 0.5404 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.4439, allocations: 0.691 MB / 0.5411 GB, free: 3.887 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.902e-05/0.4439, allocations: 2.594 kB / 0.5411 GB, free: 3.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.4439, allocations: 8.688 kB / 0.5411 GB, free: 3.879 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4439, allocations: 5.406 kB / 0.5411 GB, free: 3.875 MB / 398.1 MB Notification: Performance of Templates: time 0.00223/0.4462, allocations: 407.2 kB / 0.5415 GB, free: 3.672 MB / 398.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches