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.001071/0.001071, allocations: 118.8 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.001277/0.001277, allocations: 202 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.321/1.321, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2331, allocations: 50.54 MB / 409.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006798/0.24, allocations: 5.619 MB / 414.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003441/0.2434, allocations: 1.865 MB / 416.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006008/0.244, allocations: 20 kB / 416.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003399/0.2475, allocations: 1.617 MB / 418.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.2489, allocations: 0.5863 MB / 418.9 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008392/0.2498, allocations: 422.8 kB / 419.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008951/0.2507, allocations: 0.7978 MB / 420.2 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.2518, allocations: 0.8678 MB / 421 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.2523, allocations: 358.7 kB / 421.4 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.2527, allocations: 490.2 kB / 421.9 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.525e-05/0.2528, allocations: 76 kB / 421.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004199/0.2533, allocations: 251.8 kB / 422.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.2534, allocations: 175.4 kB / 422.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003176/0.2537, allocations: 425.9 kB / 422.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2548, allocations: 1.181 MB / 423.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2548, allocations: 3.938 kB / 423.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2548, allocations: 0 / 423.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.2549, allocations: 0 / 423.9 MB, free: 2.797 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.002924/0.2578, allocations: 1.346 MB / 425.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2578, allocations: 8.031 kB / 425.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004487/0.2623, allocations: 0.6594 MB / 426 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.2629, allocations: 411.2 kB / 426.4 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/0.2629, allocations: 74.38 kB / 426.4 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.2631, allocations: 100.3 kB / 426.5 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.2646, allocations: 0.9863 MB / 427.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.2646, allocations: 4 kB / 427.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-05/0.2647, allocations: 40 kB / 427.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.2648, allocations: 28 kB / 427.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.2663, allocations: 0.9213 MB / 428.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004219/0.2705, allocations: 3.422 MB / 431.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/0.2727, allocations: 2.237 MB / 434.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004217/0.2732, allocations: 289.3 kB / 434.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.2733, allocations: 182.7 kB / 434.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.2734, allocations: 43.12 kB / 434.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 1.984e-06/0.2734, allocations: 0 / 434.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001348/0.2747, allocations: 0.7132 MB / 435.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.2748, allocations: 111.4 kB / 435.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.275, allocations: 270.5 kB / 435.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.2751, allocations: 37.95 kB / 435.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.2753, allocations: 390.5 kB / 436.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.2754, allocations: 220.8 kB / 436.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.2756, allocations: 138.6 kB / 436.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2758, allocations: 350.7 kB / 436.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.2761, allocations: 221.9 kB / 437.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.2767, allocations: 435.3 kB / 437.5 MB, free: 4.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009144/0.2776, allocations: 0.695 MB / 438.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.2776, allocations: 4 kB / 438.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001204/0.2788, allocations: 0.7405 MB / 439 MB, free: 2.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.2788, allocations: 11.94 kB / 439 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2789, allocations: 4 kB / 439 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.2789, allocations: 12 kB / 439 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006378/0.2795, allocations: 196.2 kB / 439.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.2796, allocations: 15.98 kB / 439.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.2799, allocations: 75.22 kB / 439.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/0.28, allocations: 39.98 kB / 439.3 MB, free: 2.465 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.0002323/0.2802, allocations: 221.5 kB / 439.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.2803, allocations: 51.47 kB / 439.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.2814, allocations: 0.6517 MB / 440.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.2814, allocations: 8 kB / 440.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2815, allocations: 0 / 440.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.2815, allocations: 7.984 kB / 440.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.2836, allocations: 1.477 MB / 441.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2836, allocations: 0 / 441.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007309/0.2844, allocations: 143.7 kB / 441.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.2844, allocations: 4 kB / 441.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/0.2844, allocations: 16 kB / 441.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.2845, allocations: 3.938 kB / 441.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2845, allocations: 4 kB / 441.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.286, allocations: 1.115 MB / 443 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.2861, allocations: 120.5 kB / 443.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.2861, allocations: 16 kB / 443.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.2865, allocations: 31.86 kB / 443.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/0.2866, allocations: 36.52 kB / 443.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/0.2866, allocations: 19.98 kB / 443.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.2868, allocations: 186 kB / 443.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2868, allocations: 0 / 443.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006668/0.2875, allocations: 231.1 kB / 443.6 MB, free: 14.04 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.000223/0.2877, allocations: 155.1 kB / 443.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009715/0.2887, allocations: 0.6029 MB / 444.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2887, allocations: 4.25 kB / 444.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004312/0.2891, allocations: 303 kB / 444.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.2896, allocations: 48.48 kB / 444.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.2915, allocations: 1.236 MB / 446 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.2919, allocations: 0.9007 MB / 446.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002652/0.2922, allocations: 76.39 kB / 446.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.2923, allocations: 55.36 kB / 447 MB, free: 10.6 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2923, allocations: 0 / 447 MB, free: 10.6 MB / 366.1 MB Notification: Performance of Templates: time 0.009475/0.3018, allocations: 4.864 MB / 451.8 MB, free: 5.742 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches