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.001229/0.001229, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2535/0.2535, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 75.81 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.494/0.4955, allocations: 62.44 MB / 0.531 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.004133/0.4997, allocations: 1.731 MB / 0.5327 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002514/0.5, allocations: 81.09 kB / 0.5327 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.5001, allocations: 2.656 kB / 0.5327 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.74e-05/0.5002, allocations: 13.2 kB / 0.5328 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.5003, allocations: 22.78 kB / 0.5328 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.5004, allocations: 23.53 kB / 0.5328 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.5007, allocations: 99.31 kB / 0.5329 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.501, allocations: 59.78 kB / 0.533 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.5011, allocations: 40.55 kB / 0.533 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.5012, allocations: 43.81 kB / 0.533 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.5012, allocations: 14.09 kB / 0.533 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.656e-05/0.5013, allocations: 14.69 kB / 0.5331 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.5013, allocations: 23.05 kB / 0.5331 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.067e-05/0.5014, allocations: 56.33 kB / 0.5331 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.5016, allocations: 120.4 kB / 0.5333 GB, free: 12.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5016, allocations: 1.094 kB / 0.5333 GB, free: 12.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5016, allocations: 0 / 0.5333 GB, free: 12.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.5017, allocations: 0 / 0.5333 GB, free: 12.01 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.0006904/0.5024, allocations: 397.8 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.5024, allocations: 13.5 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.5025, allocations: 10.16 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.5027, allocations: 172.1 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.5027, allocations: 9.078 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.5027, allocations: 11.94 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.503, allocations: 131.3 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.5031, allocations: 192 / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.5031, allocations: 9.281 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.5031, allocations: 2.688 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.5033, allocations: 73.12 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.5044, allocations: 0.7204 MB / 0.5347 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.5045, allocations: 173.1 kB / 0.5349 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.5045, allocations: 81.14 kB / 0.535 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.5046, allocations: 79.22 kB / 0.5351 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.5046, allocations: 107.2 kB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.5047, allocations: 0 / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.383e-05/0.5047, allocations: 37.59 kB / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/0.5048, allocations: 134.6 kB / 0.5353 GB, free: 9.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.505, allocations: 149.5 kB / 0.5355 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.505, allocations: 25.7 kB / 0.5355 GB, free: 9.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.928e-05/0.5051, allocations: 122.4 kB / 0.5356 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.963e-06/0.5051, allocations: 7.984 kB / 0.5356 GB, free: 9.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.5052, allocations: 19.22 kB / 0.5356 GB, free: 9.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5053, allocations: 316.2 kB / 0.5359 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.5054, allocations: 12.11 kB / 0.536 GB, free: 9.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.5054, allocations: 44.03 kB / 0.536 GB, free: 9.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.473e-05/0.5055, allocations: 54.66 kB / 0.5361 GB, free: 9.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5055, allocations: 1.375 kB / 0.5361 GB, free: 9.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001589/0.5057, allocations: 78.22 kB / 0.5361 GB, free: 9.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5057, allocations: 8 kB / 0.5361 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5057, allocations: 1.375 kB / 0.5361 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5057, allocations: 2.75 kB / 0.5361 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.919e-05/0.5058, allocations: 16.36 kB / 0.5362 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.5058, allocations: 6.75 kB / 0.5362 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.5059, allocations: 6.656 kB / 0.5362 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.5059, allocations: 6.688 kB / 0.5362 GB, free: 9.062 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.0001252/0.506, allocations: 194.6 kB / 0.5364 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.5061, allocations: 107.7 kB / 0.5365 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.175e-05/0.5062, allocations: 119.4 kB / 0.5366 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.692e-05/0.5063, allocations: 181.6 kB / 0.5367 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.139e-05/0.5064, allocations: 181.6 kB / 0.5369 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.481e-05/0.5065, allocations: 181.7 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.5068, allocations: 444.2 kB / 0.5375 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001083/0.5069, allocations: 106.3 kB / 0.5376 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.507, allocations: 106.3 kB / 0.5377 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/0.5071, allocations: 180.4 kB / 0.5379 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.58e-05/0.5072, allocations: 181.7 kB / 0.5381 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.862e-05/0.5073, allocations: 181.6 kB / 0.5382 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001196/0.5074, allocations: 177.8 kB / 0.5384 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.5077, allocations: 325.1 kB / 0.5387 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.5079, allocations: 183.4 kB / 0.5389 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.508, allocations: 189.6 kB / 0.5391 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.5082, allocations: 106.3 kB / 0.5392 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.635e-05/0.5083, allocations: 181.6 kB / 0.5393 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/0.5083, allocations: 101 kB / 0.5394 GB, free: 5.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.5085, allocations: 126.4 kB / 0.5396 GB, free: 5.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5085, allocations: 0 / 0.5396 GB, free: 5.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000309/0.5088, allocations: 13.75 kB / 0.5396 GB, free: 5.426 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.0001902/0.509, allocations: 166.9 kB / 0.5397 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.5091, allocations: 18.94 kB / 0.5398 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5091, allocations: 384 / 0.5398 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.746e-06/0.5091, allocations: 5.375 kB / 0.5398 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.5097, allocations: 469 kB / 0.5402 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.5102, allocations: 244.5 kB / 0.5404 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.5106, allocations: 0.6993 MB / 0.5411 GB, free: 3.855 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.505e-05/0.5106, allocations: 2.219 kB / 0.5411 GB, free: 3.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.5107, allocations: 9.656 kB / 0.5411 GB, free: 3.848 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5107, allocations: 0 / 0.5411 GB, free: 3.848 MB / 398.1 MB Notification: Performance of Templates: time 0.003008/0.5137, allocations: 404.2 kB / 0.5415 GB, free: 3.648 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