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.001292/0.001292, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 64.81 kB / 307.6 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1079, allocations: 50.54 MB / 358.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007958/0.1159, allocations: 5.612 MB / 363.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00441/0.1203, allocations: 1.873 MB / 365.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003504/0.1207, allocations: 16 kB / 365.7 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003626/0.1244, allocations: 1.621 MB / 367.3 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.126, allocations: 0.5979 MB / 367.9 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009008/0.1269, allocations: 414.8 kB / 368.3 MB, free: 3.883 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.128, allocations: 0.7979 MB / 369.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.1294, allocations: 0.872 MB / 370 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005437/0.13, allocations: 358.6 kB / 370.3 MB, free: 1.832 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005876/0.1306, allocations: 498.2 kB / 370.8 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.1307, allocations: 80 kB / 370.9 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006333/0.1314, allocations: 239.8 kB / 371.1 MB, free: 1.031 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.1315, allocations: 191.3 kB / 371.3 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004598/0.132, allocations: 421.9 kB / 371.7 MB, free: 440 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.176/0.308, allocations: 1.155 MB / 372.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.3081, allocations: 0 / 372.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3081, allocations: 0 / 372.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.3081, allocations: 1.125 kB / 372.9 MB, free: 11.93 MB / 302.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.003499/0.3116, allocations: 1.353 MB / 374.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3117, allocations: 10 kB / 374.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004469/0.3161, allocations: 0.6129 MB / 374.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/0.3168, allocations: 417 kB / 375.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.3169, allocations: 72.38 kB / 375.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.317, allocations: 99.64 kB / 375.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.3188, allocations: 0.9883 MB / 376.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.3188, allocations: 6.125 kB / 376.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.16e-05/0.3189, allocations: 41.25 kB / 376.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.3189, allocations: 24.34 kB / 376.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.3205, allocations: 0.9292 MB / 377.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004448/0.325, allocations: 3.457 MB / 380.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.327, allocations: 2.238 MB / 383.1 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/0.3274, allocations: 287.8 kB / 383.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.3275, allocations: 187.8 kB / 383.6 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.3276, allocations: 46.45 kB / 383.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.404e-06/0.3276, allocations: 4 kB / 383.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001354/0.3289, allocations: 0.7191 MB / 384.4 MB, free: 6.477 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.329, allocations: 111 kB / 384.5 MB, free: 6.352 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.3293, allocations: 275.7 kB / 384.7 MB, free: 6.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.3293, allocations: 35.11 kB / 384.8 MB, free: 6.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.3295, allocations: 380.3 kB / 385.1 MB, free: 5.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.3296, allocations: 231.7 kB / 385.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.3298, allocations: 137.7 kB / 385.5 MB, free: 5.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.768e-05/0.3299, allocations: 347.7 kB / 385.8 MB, free: 5.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.3303, allocations: 224.8 kB / 386.1 MB, free: 5.191 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/0.3307, allocations: 438.4 kB / 386.5 MB, free: 4.848 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000917/0.3317, allocations: 0.6969 MB / 387.2 MB, free: 4.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.3317, allocations: 6.688 kB / 387.2 MB, free: 4.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001244/0.333, allocations: 0.7497 MB / 387.9 MB, free: 4.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.333, allocations: 10.41 kB / 387.9 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.333, allocations: 10.19 kB / 388 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.333, allocations: 10.78 kB / 388 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/0.3337, allocations: 193.2 kB / 388.2 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.3338, allocations: 19.12 kB / 388.2 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.3342, allocations: 76.64 kB / 388.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.454e-05/0.3343, allocations: 34.09 kB / 388.3 MB, free: 4.02 MB / 302.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.0002762/0.3345, allocations: 224.1 kB / 388.5 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.3347, allocations: 39.44 kB / 388.5 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.3358, allocations: 0.6619 MB / 389.2 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3359, allocations: 8.281 kB / 389.2 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3359, allocations: 0 / 389.2 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.3359, allocations: 4.984 kB / 389.2 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.3381, allocations: 1.491 MB / 390.7 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3381, allocations: 1.188 kB / 390.7 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.3386, allocations: 144.3 kB / 390.8 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3386, allocations: 3.781 kB / 390.9 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.3387, allocations: 12.94 kB / 390.9 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3387, allocations: 4.469 kB / 390.9 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3387, allocations: 3.938 kB / 390.9 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.3401, allocations: 1.122 MB / 392 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.3402, allocations: 121.8 kB / 392.1 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.22e-05/0.3402, allocations: 16.12 kB / 392.1 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.3406, allocations: 20.42 kB / 392.1 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.749e-05/0.3407, allocations: 49.73 kB / 392.2 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.3407, allocations: 23.75 kB / 392.2 MB, free: 1.922 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.3409, allocations: 182.6 kB / 392.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3409, allocations: 4.062 kB / 392.4 MB, free: 1.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008073/0.3417, allocations: 230.9 kB / 392.6 MB, free: 1.738 MB / 302.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.0002421/0.342, allocations: 149.2 kB / 392.8 MB, free: 1.633 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.3433, allocations: 0.6488 MB / 393.4 MB, free: 1.422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3433, allocations: 2.625 kB / 393.4 MB, free: 1.422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.3437, allocations: 305.2 kB / 393.7 MB, free: 1.332 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.3443, allocations: 43.19 kB / 393.8 MB, free: 1.309 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.346, allocations: 1.278 MB / 395 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.3464, allocations: 0.8975 MB / 395.9 MB, free: 15.85 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.3466, allocations: 66.5 kB / 396 MB, free: 15.83 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3467, allocations: 0 / 396 MB, free: 15.83 MB / 318.1 MB Notification: Performance of Templates: time 0.01067/0.3573, allocations: 7.278 MB / 403.3 MB, free: 11.65 MB / 318.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.1.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