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.0009614/0.0009614, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001464/0.001464, allocations: 166.7 kB / 25.61 MB, free: 8.434 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.8984/0.8984, allocations: 177 MB / 205.9 MB, free: 4.445 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.744e-06/1.744e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.954e-05, allocations: 3.031 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006831/0.006851, allocations: 5.357 MB / 279.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003903/0.01075, allocations: 1.81 MB / 281.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.01117, allocations: 19.94 kB / 281.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00287/0.01404, allocations: 1.665 MB / 283 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.01547, allocations: 0.5825 MB / 283.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008671/0.01634, allocations: 406.8 kB / 283.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009544/0.0173, allocations: 0.8324 MB / 284.8 MB, free: 9.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.01847, allocations: 0.7431 MB / 285.5 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006938/0.01916, allocations: 0.5184 MB / 286 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.01969, allocations: 387 kB / 286.4 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.01981, allocations: 76 kB / 286.5 MB, free: 7.832 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004494/0.02026, allocations: 247.6 kB / 286.7 MB, free: 7.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.0204, allocations: 183.3 kB / 286.9 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.0207, allocations: 291.2 kB / 287.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009886/0.02168, allocations: 0.7783 MB / 288 MB, free: 6.344 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.02169, allocations: 4 kB / 288 MB, free: 6.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.02169, allocations: 0 / 288 MB, free: 6.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.0217, allocations: 0 / 288 MB, free: 6.34 MB / 266.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.002815/0.02451, allocations: 1.42 MB / 289.4 MB, free: 4.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.02454, allocations: 8.031 kB / 289.4 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/0.02697, allocations: 0.808 MB / 290.2 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.02732, allocations: 369.2 kB / 290.6 MB, free: 3.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.02736, allocations: 74.38 kB / 290.6 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-05/0.02745, allocations: 92.38 kB / 290.7 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006897/0.02814, allocations: 0.7314 MB / 291.5 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.02816, allocations: 16.06 kB / 291.5 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.02822, allocations: 40.38 kB / 291.5 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.02823, allocations: 27.94 kB / 291.6 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.02872, allocations: 449.5 kB / 292 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.03128, allocations: 2.912 MB / 294.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009112/0.03219, allocations: 0.7313 MB / 295.6 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.03234, allocations: 160.9 kB / 295.8 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.125e-05/0.0324, allocations: 28.58 kB / 295.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.03243, allocations: 50.03 kB / 295.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=65): time 2.104e-06/0.03243, allocations: 0 / 295.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=65): time 0.0005355/0.03297, allocations: 445.6 kB / 296.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.03301, allocations: 119.7 kB / 296.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.03319, allocations: 327.8 kB / 296.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.03322, allocations: 37.7 kB / 296.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.03339, allocations: 442.7 kB / 297.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.03351, allocations: 234 kB / 297.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.03365, allocations: 152.2 kB / 297.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.03379, allocations: 0.5234 MB / 298.1 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.0339, allocations: 101.9 kB / 298.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.03415, allocations: 401.3 kB / 298.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.03457, allocations: 0.5543 MB / 299.2 MB, free: 10.55 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.03457, allocations: 0 / 299.2 MB, free: 10.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005228/0.03509, allocations: 0.5399 MB / 299.7 MB, free: 10.01 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.03511, allocations: 8 kB / 299.7 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.03512, allocations: 8 kB / 299.7 MB, free: 9.992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.03513, allocations: 8 kB / 299.7 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.03549, allocations: 191.7 kB / 299.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.0355, allocations: 20.33 kB / 299.9 MB, free: 9.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.03568, allocations: 83.41 kB / 300 MB, free: 9.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.03571, allocations: 31.98 kB / 300 MB, free: 9.664 MB / 282.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.0001404/0.03585, allocations: 200.3 kB / 300.2 MB, free: 9.457 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.642e-05/0.03594, allocations: 59.77 kB / 300.3 MB, free: 9.398 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004817/0.03642, allocations: 453.7 kB / 300.7 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.03642, allocations: 4 kB / 300.7 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.03642, allocations: 4 kB / 300.7 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.03643, allocations: 11.92 kB / 300.8 MB, free: 8.934 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.03742, allocations: 1.034 MB / 301.8 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.03742, allocations: 0 / 301.8 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.03771, allocations: 135.8 kB / 301.9 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.03771, allocations: 3.938 kB / 301.9 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.03773, allocations: 19.98 kB / 301.9 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.03773, allocations: 4 kB / 302 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.03773, allocations: 0 / 302 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006216/0.03836, allocations: 0.8932 MB / 302.8 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.03839, allocations: 39.64 kB / 302.9 MB, free: 6.754 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.03843, allocations: 15.98 kB / 302.9 MB, free: 6.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.03859, allocations: 24 kB / 302.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.03865, allocations: 52.5 kB / 303 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.03867, allocations: 12 kB / 303 MB, free: 6.652 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.991e-05/0.03875, allocations: 193.1 kB / 303.2 MB, free: 6.465 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03875, allocations: 0 / 303.2 MB, free: 6.465 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004335/0.03918, allocations: 227.3 kB / 303.4 MB, free: 6.242 MB / 282.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.0001628/0.03935, allocations: 159.1 kB / 303.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003646/0.03971, allocations: 400.2 kB / 303.9 MB, free: 5.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.03971, allocations: 0 / 303.9 MB, free: 5.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.03988, allocations: 197 kB / 304.1 MB, free: 5.484 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.0402, allocations: 52.45 kB / 304.2 MB, free: 5.434 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.04142, allocations: 1.124 MB / 305.3 MB, free: 4.262 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.488e-05/0.04151, allocations: 140.8 kB / 305.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.04168, allocations: 72.36 kB / 305.5 MB, free: 4.031 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.04184, allocations: 154.2 kB / 305.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.04184, allocations: 0 / 305.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of Templates: time 0.007524/0.04936, allocations: 5.015 MB / 310.7 MB, free: 14.93 MB / 298.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.829144397750497]