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) 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) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002201/0.002202, allocations: 206.8 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.602/2.602, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4149, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.01353/0.4285, allocations: 5.616 MB / 415.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007171/0.4358, allocations: 1.857 MB / 417.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.4372, allocations: 20 kB / 417.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006762/0.4441, allocations: 1.621 MB / 419 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.4479, allocations: 0.5862 MB / 419.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.4499, allocations: 422.8 kB / 420 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002202/0.4522, allocations: 0.8017 MB / 420.8 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002739/0.455, allocations: 0.8678 MB / 421.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.4561, allocations: 358.7 kB / 422.1 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.4574, allocations: 494.1 kB / 422.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002729/0.4576, allocations: 76 kB / 422.6 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.4589, allocations: 243.8 kB / 422.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003202/0.4593, allocations: 179.4 kB / 423 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009799/0.4603, allocations: 425.9 kB / 423.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002992/0.4633, allocations: 1.185 MB / 424.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.4633, allocations: 0 / 424.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.781e-06/0.4633, allocations: 0 / 424.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.707e-05/0.4634, allocations: 4 kB / 424.6 MB, free: 2.781 MB / 334.1 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.007242/0.4707, allocations: 1.346 MB / 426 MB, free: 1.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/0.4708, allocations: 8.031 kB / 426 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.4811, allocations: 0.6516 MB / 426.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.4827, allocations: 411.2 kB / 427 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.4829, allocations: 78.38 kB / 427.1 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005036/0.4834, allocations: 96.28 kB / 427.2 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004223/0.4876, allocations: 0.9902 MB / 428.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.418e-05/0.4878, allocations: 0 / 428.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.488, allocations: 43.94 kB / 428.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/0.4881, allocations: 27.94 kB / 428.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003564/0.4916, allocations: 0.9214 MB / 429.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009938/0.5016, allocations: 3.418 MB / 432.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004768/0.5065, allocations: 2.241 MB / 434.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009839/0.5075, allocations: 291.3 kB / 435.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003536/0.5079, allocations: 190.7 kB / 435.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.01e-05/0.508, allocations: 35.12 kB / 435.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 7.995e-06/0.508, allocations: 4 kB / 435.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.002777/0.5108, allocations: 0.7133 MB / 436.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.784e-05/0.511, allocations: 115.4 kB / 436.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.5116, allocations: 274.4 kB / 436.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.583e-05/0.5117, allocations: 37.7 kB / 436.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/0.5121, allocations: 378.6 kB / 436.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/0.5124, allocations: 224.8 kB / 437.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/0.5128, allocations: 138.7 kB / 437.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.5131, allocations: 346.8 kB / 437.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008019/0.5139, allocations: 221.9 kB / 437.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.515, allocations: 435.3 kB / 438.2 MB, free: 4.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.5169, allocations: 0.695 MB / 438.9 MB, free: 3.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/0.517, allocations: 4 kB / 438.9 MB, free: 3.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002533/0.5195, allocations: 0.7409 MB / 439.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/0.5196, allocations: 11.94 kB / 439.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.5196, allocations: 8 kB / 439.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.927e-05/0.5197, allocations: 15.94 kB / 439.7 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.521, allocations: 191.7 kB / 439.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.522e-05/0.5211, allocations: 12 kB / 439.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/0.5219, allocations: 83.39 kB / 439.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.5221, allocations: 36 kB / 440 MB, free: 2.449 MB / 350.1 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.0005589/0.5227, allocations: 221.5 kB / 440.2 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.5229, allocations: 43.47 kB / 440.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.5253, allocations: 0.6517 MB / 440.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.5254, allocations: 8 kB / 440.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.5254, allocations: 0 / 440.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.5254, allocations: 7.922 kB / 440.9 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004752/0.5302, allocations: 1.473 MB / 442.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.5303, allocations: 0 / 442.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.5316, allocations: 139.8 kB / 442.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.905e-05/0.5316, allocations: 4 kB / 442.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-05/0.5317, allocations: 12 kB / 442.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/0.5317, allocations: 7.938 kB / 442.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5317, allocations: 4 kB / 442.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.5348, allocations: 1.119 MB / 443.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002732/0.5351, allocations: 124.4 kB / 443.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.5353, allocations: 16.06 kB / 443.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007093/0.536, allocations: 27.92 kB / 443.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.5362, allocations: 44.5 kB / 443.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-05/0.5363, allocations: 20 kB / 443.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003623/0.5367, allocations: 182 kB / 444.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.01e-07/0.5367, allocations: 4 kB / 444.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001466/0.5382, allocations: 223.1 kB / 444.3 MB, free: 14.03 MB / 366.1 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.000458/0.5387, allocations: 155.1 kB / 444.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.5408, allocations: 0.6146 MB / 445.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.5409, allocations: 0 / 445.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009402/0.5418, allocations: 299.4 kB / 445.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.5429, allocations: 54.19 kB / 445.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.547, allocations: 1.265 MB / 446.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007889/0.5478, allocations: 0.9046 MB / 447.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/0.5482, allocations: 63.36 kB / 447.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5483, allocations: 0 / 447.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of Templates: time 0.0226/0.5709, allocations: 7.398 MB / 455 MB, free: 3.219 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches