Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 109.1 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 191 kB / 17.99 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009602/0.0009602, allocations: 47.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2429, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006421/0.2494, allocations: 5.607 MB / 406.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.2522, allocations: 1.814 MB / 408.1 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.2525, allocations: 24 kB / 408.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003278/0.2558, allocations: 1.611 MB / 409.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.2572, allocations: 0.7526 MB / 410.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.2578, allocations: 279.4 kB / 410.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007293/0.2585, allocations: 0.8056 MB / 411.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.2597, allocations: 0.8692 MB / 412.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.26, allocations: 354.7 kB / 412.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004964/0.2605, allocations: 490.1 kB / 413.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.938e-05/0.2607, allocations: 80 kB / 413.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.2611, allocations: 239.8 kB / 413.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.2612, allocations: 187.3 kB / 413.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.2616, allocations: 425.9 kB / 414.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.2626, allocations: 1.16 MB / 415.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2627, allocations: 4 kB / 415.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2627, allocations: 0 / 415.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.2627, allocations: 0 / 415.4 MB, free: 10.16 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.003027/0.2657, allocations: 1.35 MB / 416.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2658, allocations: 8.031 kB / 416.7 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004587/0.2703, allocations: 0.6594 MB / 417.4 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.2709, allocations: 407.2 kB / 417.8 MB, free: 7.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.3e-05/0.2709, allocations: 74.38 kB / 417.9 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.2711, allocations: 92.38 kB / 418 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.2726, allocations: 0.9862 MB / 418.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.2726, allocations: 3.906 kB / 418.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.091e-05/0.2727, allocations: 44 kB / 419 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.2727, allocations: 27.98 kB / 419 MB, free: 6.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.2743, allocations: 0.9219 MB / 419.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004204/0.2785, allocations: 3.327 MB / 423.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.2807, allocations: 2.245 MB / 425.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/0.2812, allocations: 305.8 kB / 425.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.666e-05/0.2813, allocations: 85.67 kB / 425.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.2813, allocations: 47.11 kB / 425.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 4.919e-06/0.2813, allocations: 0 / 425.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.00128/0.2826, allocations: 0.7132 MB / 426.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.2827, allocations: 115.4 kB / 426.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.2829, allocations: 270.4 kB / 427 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.283, allocations: 33.95 kB / 427.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.2832, allocations: 390.6 kB / 427.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.2833, allocations: 216.8 kB / 427.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.2835, allocations: 138.5 kB / 427.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2837, allocations: 346.8 kB / 428.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004047/0.2841, allocations: 221.9 kB / 428.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/0.2846, allocations: 447.3 kB / 428.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/0.2856, allocations: 0.695 MB / 429.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2856, allocations: 3.938 kB / 429.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001204/0.2868, allocations: 0.7444 MB / 430.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.2869, allocations: 11.94 kB / 430.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.2869, allocations: 8 kB / 430.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.2869, allocations: 8 kB / 430.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006757/0.2876, allocations: 192.2 kB / 430.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.2876, allocations: 27.91 kB / 430.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.288, allocations: 75.22 kB / 430.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.2881, allocations: 32 kB / 430.6 MB, free: 10.04 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.0002335/0.2883, allocations: 221.6 kB / 430.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2884, allocations: 43.47 kB / 430.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.2895, allocations: 0.6439 MB / 431.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.2896, allocations: 8 kB / 431.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2896, allocations: 4 kB / 431.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.2896, allocations: 11.92 kB / 431.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.2917, allocations: 1.473 MB / 433 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2918, allocations: 0 / 433 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005688/0.2923, allocations: 135.8 kB / 433.1 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.2923, allocations: 11.98 kB / 433.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.2924, allocations: 15.98 kB / 433.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.024e-06/0.2924, allocations: 7.938 kB / 433.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2924, allocations: 3.938 kB / 433.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.2939, allocations: 1.115 MB / 434.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/0.294, allocations: 120.5 kB / 434.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.294, allocations: 16 kB / 434.4 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.2944, allocations: 27.92 kB / 434.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.733e-05/0.2945, allocations: 40.5 kB / 434.5 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.2945, allocations: 20 kB / 434.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001658/0.2947, allocations: 186 kB / 434.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2947, allocations: 0 / 434.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006684/0.2954, allocations: 227.2 kB / 434.9 MB, free: 5.617 MB / 350.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.0002262/0.2956, allocations: 159 kB / 435 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000974/0.2966, allocations: 0.6069 MB / 435.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2966, allocations: 4.188 kB / 435.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004513/0.2971, allocations: 303 kB / 435.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.2976, allocations: 36.56 kB / 436 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.2994, allocations: 1.24 MB / 437.2 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.2999, allocations: 0.8968 MB / 438.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002782/0.3002, allocations: 80.38 kB / 438.2 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.3003, allocations: 51.42 kB / 438.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3003, allocations: 0 / 438.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of Templates: time 0.009067/0.3094, allocations: 4.806 MB / 443 MB, free: 13.38 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches