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.00114/0.001146, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.24/0.24, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001539, allocations: 79.86 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4173, allocations: 62.42 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003025/0.4204, allocations: 1.737 MB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001732/0.4206, allocations: 72.7 kB / 0.5327 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.909e-05/0.4206, allocations: 1.75 kB / 0.5327 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.942e-05/0.4207, allocations: 23.41 kB / 0.5328 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.655e-05/0.4208, allocations: 17.58 kB / 0.5328 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.8e-05/0.4209, allocations: 27.53 kB / 0.5328 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.4211, allocations: 98.33 kB / 0.5329 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.4212, allocations: 61.17 kB / 0.533 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.685e-05/0.4213, allocations: 39.64 kB / 0.533 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.903e-05/0.4214, allocations: 47.88 kB / 0.533 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.4214, allocations: 14.94 kB / 0.533 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.173e-05/0.4215, allocations: 11 kB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.4215, allocations: 18.73 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.4216, allocations: 52.23 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.4217, allocations: 123.6 kB / 0.5332 GB, free: 11.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4217, allocations: 0 / 0.5332 GB, free: 11.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4217, allocations: 0 / 0.5332 GB, free: 11.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.4218, allocations: 3.938 kB / 0.5332 GB, free: 11.82 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.0005009/0.4223, allocations: 403 kB / 0.5336 GB, free: 11.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4223, allocations: 8.25 kB / 0.5336 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.4224, allocations: 14.34 kB / 0.5337 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.4225, allocations: 176.4 kB / 0.5338 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.4225, allocations: 8.734 kB / 0.5338 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.4225, allocations: 11.25 kB / 0.5338 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.4228, allocations: 136.1 kB / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.4228, allocations: 192 / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.4228, allocations: 13.3 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.4228, allocations: 6.75 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.4229, allocations: 60.98 kB / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007782/0.4237, allocations: 0.7232 MB / 0.5348 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.4238, allocations: 170.5 kB / 0.5349 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.4239, allocations: 85.45 kB / 0.535 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/0.424, allocations: 79.28 kB / 0.5351 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/0.424, allocations: 107.2 kB / 0.5352 GB, free: 9.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.424, allocations: 0 / 0.5352 GB, free: 9.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.806e-05/0.4241, allocations: 28.45 kB / 0.5352 GB, free: 9.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.4242, allocations: 132.1 kB / 0.5353 GB, free: 9.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.4243, allocations: 155.2 kB / 0.5355 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.4243, allocations: 29.69 kB / 0.5355 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.4244, allocations: 118.8 kB / 0.5356 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.4244, allocations: 0 / 0.5356 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.4245, allocations: 23.17 kB / 0.5356 GB, free: 9.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4246, allocations: 328.1 kB / 0.536 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.4246, allocations: 8.125 kB / 0.536 GB, free: 9.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.224e-05/0.4247, allocations: 43.97 kB / 0.536 GB, free: 9.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.406e-05/0.4247, allocations: 58.64 kB / 0.5361 GB, free: 8.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4247, allocations: 1.312 kB / 0.5361 GB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000144/0.4249, allocations: 70 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4249, allocations: 6.25 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4249, allocations: 1.156 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4249, allocations: 2.5 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.425, allocations: 12.78 kB / 0.5362 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.425, allocations: 6.156 kB / 0.5362 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.4251, allocations: 10.48 kB / 0.5362 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.4251, allocations: 7.594 kB / 0.5362 GB, free: 8.871 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.0001326/0.4253, allocations: 197.5 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.558e-05/0.4253, allocations: 108.2 kB / 0.5365 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.4254, allocations: 115.5 kB / 0.5366 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.045e-05/0.4255, allocations: 185.2 kB / 0.5368 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.971e-05/0.4255, allocations: 193 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.999e-05/0.4256, allocations: 181.4 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.4259, allocations: 437.8 kB / 0.5375 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-05/0.4259, allocations: 105.8 kB / 0.5376 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.426, allocations: 106 kB / 0.5377 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.511e-05/0.426, allocations: 181.3 kB / 0.5379 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.4262, allocations: 189 kB / 0.5381 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.845e-05/0.4262, allocations: 177.5 kB / 0.5383 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.394e-05/0.4263, allocations: 181.6 kB / 0.5384 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.4266, allocations: 317.5 kB / 0.5387 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.593e-05/0.4267, allocations: 187.5 kB / 0.5389 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.4268, allocations: 177.5 kB / 0.5391 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.4269, allocations: 106.4 kB / 0.5392 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.427, allocations: 181.6 kB / 0.5393 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.427, allocations: 108.9 kB / 0.5395 GB, free: 5.332 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.451e-05/0.4271, allocations: 114.7 kB / 0.5396 GB, free: 5.238 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4271, allocations: 0 / 0.5396 GB, free: 5.238 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00031/0.4274, allocations: 16.66 kB / 0.5396 GB, free: 5.234 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.0001112/0.4276, allocations: 167.5 kB / 0.5397 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.439e-05/0.4276, allocations: 26.17 kB / 0.5398 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4277, allocations: 5.531 kB / 0.5398 GB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.4277, allocations: 0 / 0.5398 GB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.4281, allocations: 464.6 kB / 0.5402 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.4284, allocations: 248.3 kB / 0.5404 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.4287, allocations: 0.6953 MB / 0.5411 GB, free: 3.664 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.645e-05/0.4287, allocations: 2.312 kB / 0.5411 GB, free: 3.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.4288, allocations: 9.719 kB / 0.5411 GB, free: 3.656 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4288, allocations: 0 / 0.5411 GB, free: 3.656 MB / 398.1 MB Notification: Performance of Templates: time 0.002666/0.4314, allocations: 411.7 kB / 0.5415 GB, free: 3.449 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