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.001123/0.001123, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, 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.3102/0.3102, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 71.89 kB / 481.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4474, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003212/0.4507, allocations: 1.729 MB / 0.5327 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001972/0.4509, allocations: 77.25 kB / 0.5327 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.4509, allocations: 1.312 kB / 0.5327 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.702e-05/0.451, allocations: 22.31 kB / 0.5328 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.768e-05/0.4511, allocations: 22.34 kB / 0.5328 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.605e-05/0.4512, allocations: 26.53 kB / 0.5328 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.4514, allocations: 95.44 kB / 0.5329 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.4516, allocations: 61.95 kB / 0.533 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.4517, allocations: 40.11 kB / 0.533 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.277e-05/0.4518, allocations: 47.45 kB / 0.533 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.4519, allocations: 9.625 kB / 0.533 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.193e-05/0.4519, allocations: 15.16 kB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.4519, allocations: 23.36 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.452, allocations: 47.91 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.4522, allocations: 122.2 kB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4522, allocations: 1.312 kB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4522, allocations: 0 / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.4522, allocations: 3.938 kB / 0.5332 GB, free: 11.83 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.0007103/0.4529, allocations: 400.1 kB / 0.5336 GB, free: 11.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4529, allocations: 8.875 kB / 0.5336 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.453, allocations: 14.44 kB / 0.5337 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.4532, allocations: 175 kB / 0.5338 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.4532, allocations: 10.11 kB / 0.5338 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.4532, allocations: 11.25 kB / 0.5338 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.4535, allocations: 134.7 kB / 0.534 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4535, allocations: 1.562 kB / 0.534 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.4535, allocations: 9.312 kB / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4535, allocations: 2.75 kB / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.4537, allocations: 68.09 kB / 0.534 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000887/0.4546, allocations: 0.7191 MB / 0.5347 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.485e-05/0.4546, allocations: 166.5 kB / 0.5349 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/0.4547, allocations: 88.14 kB / 0.535 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.4547, allocations: 80.59 kB / 0.5351 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.4548, allocations: 105.8 kB / 0.5352 GB, free: 9.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.4548, allocations: 1.375 kB / 0.5352 GB, free: 9.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.452e-05/0.4549, allocations: 32.36 kB / 0.5352 GB, free: 9.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.4549, allocations: 126.7 kB / 0.5353 GB, free: 9.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.4551, allocations: 156.6 kB / 0.5355 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.4551, allocations: 25.7 kB / 0.5355 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.4552, allocations: 126.4 kB / 0.5356 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/0.4552, allocations: 0 / 0.5356 GB, free: 9.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.4552, allocations: 19.22 kB / 0.5356 GB, free: 9.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4553, allocations: 324.1 kB / 0.5359 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.4554, allocations: 4.125 kB / 0.5359 GB, free: 9.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.791e-05/0.4554, allocations: 56.02 kB / 0.536 GB, free: 9.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.4555, allocations: 58.72 kB / 0.5361 GB, free: 8.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4555, allocations: 0 / 0.5361 GB, free: 8.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001506/0.4556, allocations: 75.59 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4557, allocations: 5.5 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4557, allocations: 1.375 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4557, allocations: 2.75 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.4558, allocations: 12.23 kB / 0.5362 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4558, allocations: 5.5 kB / 0.5362 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.4558, allocations: 12.03 kB / 0.5362 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.4558, allocations: 6.688 kB / 0.5362 GB, free: 8.883 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.0001769/0.456, allocations: 198.6 kB / 0.5364 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.4561, allocations: 103.7 kB / 0.5365 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.731e-05/0.4562, allocations: 119.3 kB / 0.5366 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.943e-05/0.4562, allocations: 181.6 kB / 0.5367 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-05/0.4563, allocations: 189.5 kB / 0.5369 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001322/0.4565, allocations: 180.3 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.4568, allocations: 437.6 kB / 0.5375 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.364e-05/0.4568, allocations: 106.3 kB / 0.5376 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.4569, allocations: 101 kB / 0.5377 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.027e-05/0.4569, allocations: 193.7 kB / 0.5379 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/0.4571, allocations: 181.7 kB / 0.5381 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.325e-05/0.4571, allocations: 176.3 kB / 0.5382 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001392/0.4573, allocations: 181.6 kB / 0.5384 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.4575, allocations: 325.1 kB / 0.5387 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.4576, allocations: 184.8 kB / 0.5389 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.839e-05/0.4577, allocations: 177.6 kB / 0.5391 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.4578, allocations: 110.3 kB / 0.5392 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.4579, allocations: 180.3 kB / 0.5393 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.4579, allocations: 106.3 kB / 0.5394 GB, free: 5.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.177e-05/0.458, allocations: 108.9 kB / 0.5396 GB, free: 5.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.458, allocations: 5.312 kB / 0.5396 GB, free: 5.254 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.4583, allocations: 13.09 kB / 0.5396 GB, free: 5.254 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.0001229/0.4584, allocations: 175.2 kB / 0.5397 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.6e-05/0.4585, allocations: 14.81 kB / 0.5398 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4585, allocations: 0 / 0.5398 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.4585, allocations: 8.969 kB / 0.5398 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.459, allocations: 464.6 kB / 0.5402 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.4594, allocations: 244.8 kB / 0.5404 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.4597, allocations: 0.6951 MB / 0.5411 GB, free: 3.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.602e-05/0.4597, allocations: 10.8 kB / 0.5411 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.4597, allocations: 9.906 kB / 0.5411 GB, free: 3.672 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4597, allocations: 0 / 0.5411 GB, free: 3.672 MB / 398.1 MB Notification: Performance of Templates: time 0.002564/0.4623, allocations: 408.4 kB / 0.5415 GB, free: 3.469 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