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.001173/0.001173, allocations: 109.6 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.00128/0.00128, allocations: 191 kB / 18 MB, free: 5.105 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.376/1.376, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000965/0.000965, allocations: 47.86 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2427, allocations: 49.44 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006337/0.2491, allocations: 5.598 MB / 406.3 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.2519, allocations: 1.818 MB / 408.1 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.2522, allocations: 20 kB / 408.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.2554, allocations: 1.609 MB / 409.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.2569, allocations: 0.7595 MB / 410.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.2575, allocations: 281.5 kB / 410.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007781/0.2583, allocations: 0.8017 MB / 411.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.2595, allocations: 0.8692 MB / 412.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003441/0.2598, allocations: 358.6 kB / 412.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004819/0.2603, allocations: 490.1 kB / 413.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.475e-05/0.2604, allocations: 76 kB / 413.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.2609, allocations: 239.8 kB / 413.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.261, allocations: 183.3 kB / 413.8 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.2613, allocations: 425.9 kB / 414.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.2624, allocations: 1.16 MB / 415.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2624, allocations: 0 / 415.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2624, allocations: 0 / 415.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.2624, allocations: 4 kB / 415.4 MB, free: 10.17 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.2654, allocations: 1.354 MB / 416.7 MB, free: 8.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2655, allocations: 12.03 kB / 416.7 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004535/0.27, allocations: 0.6477 MB / 417.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/0.2705, allocations: 411.2 kB / 417.8 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.2706, allocations: 74.38 kB / 417.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.2707, allocations: 96.38 kB / 417.9 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.2722, allocations: 0.9862 MB / 418.9 MB, free: 6.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.2723, allocations: 11.91 kB / 418.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.2724, allocations: 36 kB / 419 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.2724, allocations: 24 kB / 419 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.2739, allocations: 0.9258 MB / 419.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004008/0.2779, allocations: 3.319 MB / 423.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.2802, allocations: 2.253 MB / 425.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/0.2806, allocations: 302 kB / 425.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.021e-05/0.2807, allocations: 93.66 kB / 425.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.2807, allocations: 35.12 kB / 425.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 1.934e-06/0.2807, allocations: 4 kB / 425.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.00128/0.282, allocations: 0.7171 MB / 426.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.2821, allocations: 111.4 kB / 426.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.2823, allocations: 274.4 kB / 427 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.2824, allocations: 37.7 kB / 427.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.2826, allocations: 382.6 kB / 427.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.2827, allocations: 217.1 kB / 427.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.2829, allocations: 150.4 kB / 427.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.283, allocations: 346.8 kB / 428.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.2834, allocations: 221.9 kB / 428.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/0.284, allocations: 439.3 kB / 428.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009805/0.285, allocations: 0.6911 MB / 429.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.285, allocations: 0 / 429.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001152/0.2861, allocations: 0.7525 MB / 430.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.2862, allocations: 11.94 kB / 430.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.2862, allocations: 8 kB / 430.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.2862, allocations: 12 kB / 430.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.2869, allocations: 183.7 kB / 430.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.2869, allocations: 19.92 kB / 430.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.2873, allocations: 79.41 kB / 430.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/0.2873, allocations: 39.98 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.0002474/0.2876, allocations: 217.6 kB / 430.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.2877, allocations: 43.47 kB / 430.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.2888, allocations: 0.6439 MB / 431.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.2888, allocations: 8 kB / 431.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2888, allocations: 0 / 431.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2889, allocations: 3.984 kB / 431.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.2909, allocations: 1.481 MB / 433 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2909, allocations: 0 / 433 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.2915, allocations: 139.8 kB / 433.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.2915, allocations: 4 kB / 433.1 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.2915, allocations: 12 kB / 433.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.2916, allocations: 7.938 kB / 433.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2916, allocations: 4 kB / 433.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.293, allocations: 1.119 MB / 434.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-05/0.2931, allocations: 124.5 kB / 434.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.2932, allocations: 16.06 kB / 434.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.2935, allocations: 23.92 kB / 434.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.953e-05/0.2936, allocations: 48.52 kB / 434.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.2937, allocations: 19.98 kB / 434.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.2938, allocations: 182 kB / 434.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2938, allocations: 0 / 434.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000677/0.2945, allocations: 219.1 kB / 434.9 MB, free: 5.637 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.0002142/0.2947, allocations: 159 kB / 435 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009581/0.2957, allocations: 0.6107 MB / 435.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2957, allocations: 0 / 435.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.2962, allocations: 307.3 kB / 435.9 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.2967, allocations: 51.12 kB / 436 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.2985, allocations: 1.232 MB / 437.2 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.2989, allocations: 0.9046 MB / 438.1 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002777/0.2992, allocations: 76.39 kB / 438.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.2994, allocations: 47.44 kB / 438.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2994, allocations: 0 / 438.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of Templates: time 0.009962/0.3093, allocations: 4.809 MB / 443 MB, free: 13.39 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