Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008709/0.0008709, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003968/0.003968, allocations: 160.2 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8605/0.8605, allocations: 177 MB / 204.9 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.663e-05, allocations: 3.266 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004099/0.004116, allocations: 5.022 MB / 330.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.005892, allocations: 1.771 MB / 332.6 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.006082, allocations: 20 kB / 332.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.007836, allocations: 1.582 MB / 334.2 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007168/0.008553, allocations: 0.5864 MB / 334.8 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.008969, allocations: 414.1 kB / 335.2 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005064/0.009476, allocations: 0.8322 MB / 336 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007162/0.01019, allocations: 0.7508 MB / 336.7 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003836/0.01058, allocations: 0.5183 MB / 337.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.01086, allocations: 375 kB / 337.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.01092, allocations: 76 kB / 337.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.01119, allocations: 235.7 kB / 337.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.621e-05/0.01127, allocations: 187.3 kB / 338.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.01144, allocations: 291.2 kB / 338.4 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008006/0.01224, allocations: 1.191 MB / 339.6 MB, free: 1.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.01225, allocations: 0 / 339.6 MB, free: 1.473 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01225, allocations: 0 / 339.6 MB, free: 1.473 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.01225, allocations: 0 / 339.6 MB, free: 1.473 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001729/0.01398, allocations: 1.285 MB / 340.9 MB, free: 152 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.01402, allocations: 19.92 kB / 340.9 MB, free: 132 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/0.01632, allocations: 0.6131 MB / 341.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.01671, allocations: 368.6 kB / 341.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.01675, allocations: 74.31 kB / 341.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.687e-05/0.01684, allocations: 96.38 kB / 342 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.01785, allocations: 1.016 MB / 343 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.01787, allocations: 192 / 343 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.943e-05/0.01793, allocations: 36.38 kB / 343.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.01794, allocations: 27.94 kB / 343.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009763/0.01892, allocations: 0.9252 MB / 344 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/0.02144, allocations: 2.799 MB / 346.8 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.02247, allocations: 0.7459 MB / 347.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.02273, allocations: 252.5 kB / 347.8 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.18e-05/0.02279, allocations: 32.62 kB / 347.9 MB, free: 8.957 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.02281, allocations: 39.22 kB / 347.9 MB, free: 8.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 1.813e-06/0.02281, allocations: 7.875 kB / 347.9 MB, free: 8.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.001086/0.0239, allocations: 0.7202 MB / 348.6 MB, free: 8.176 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.02394, allocations: 115.5 kB / 348.7 MB, free: 8.039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.0241, allocations: 265.5 kB / 349 MB, free: 7.773 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.02413, allocations: 33.95 kB / 349 MB, free: 7.734 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.02427, allocations: 403.9 kB / 349.4 MB, free: 7.332 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.818e-05/0.02436, allocations: 222 kB / 349.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.02448, allocations: 146.5 kB / 349.8 MB, free: 6.961 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.02457, allocations: 346.8 kB / 350.1 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.02482, allocations: 225.9 kB / 350.3 MB, free: 6.395 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.02514, allocations: 435.4 kB / 350.8 MB, free: 5.879 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006037/0.02574, allocations: 0.7047 MB / 351.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.02575, allocations: 4 kB / 351.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007295/0.02647, allocations: 0.7505 MB / 352.2 MB, free: 4.324 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.02649, allocations: 8 kB / 352.2 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.0265, allocations: 8 kB / 352.2 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.02651, allocations: 8.688 kB / 352.3 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.02686, allocations: 195.7 kB / 352.4 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.02687, allocations: 23.86 kB / 352.5 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.02704, allocations: 71.45 kB / 352.5 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.02707, allocations: 35.98 kB / 352.6 MB, free: 3.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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.0001592/0.02723, allocations: 217.6 kB / 352.8 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.02729, allocations: 39.77 kB / 352.8 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006858/0.02797, allocations: 0.6501 MB / 353.5 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.02798, allocations: 4 kB / 353.5 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.02798, allocations: 4 kB / 353.5 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.02799, allocations: 11.91 kB / 353.5 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.02928, allocations: 1.265 MB / 354.8 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.02928, allocations: 4 kB / 354.8 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.02958, allocations: 139.8 kB / 354.9 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.02958, allocations: 7.984 kB / 354.9 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.0296, allocations: 16 kB / 354.9 MB, free: 1.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.02961, allocations: 4 kB / 354.9 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02961, allocations: 3.938 kB / 354.9 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.0308, allocations: 1.123 MB / 356.1 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.03083, allocations: 47.67 kB / 356.1 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.03087, allocations: 16 kB / 356.1 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.03103, allocations: 23.98 kB / 356.1 MB, free: 352 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.03109, allocations: 44.56 kB / 356.2 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.03111, allocations: 20 kB / 356.2 MB, free: 288 kB / 314.7 MB Notification: Performance of sorting global known variables: time 9.333e-05/0.03121, allocations: 169.2 kB / 356.4 MB, free: 116 kB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03121, allocations: 0 / 356.4 MB, free: 116 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004135/0.03162, allocations: 235.3 kB / 356.6 MB, free: 15.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (72): * Single equations (assignments): 72 * 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.0001772/0.0318, allocations: 150.9 kB / 356.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005995/0.0324, allocations: 0.5754 MB / 357.3 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.0324, allocations: 1.75 kB / 357.3 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.03265, allocations: 271.6 kB / 357.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.03298, allocations: 44.56 kB / 357.6 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.03415, allocations: 1.224 MB / 358.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.03433, allocations: 303.8 kB / 359.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.03445, allocations: 64.48 kB / 359.2 MB, free: 13.19 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.03446, allocations: 0 / 359.2 MB, free: 13.19 MB / 330.7 MB Notification: Performance of Templates: time 0.006297/0.04075, allocations: 7.796 MB / 367 MB, free: 5.395 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.333922824822366]