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.001394/0.001394, allocations: 101.6 kB / 17.59 MB, free: 5.426 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.001535/0.001535, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.348/1.348, allocations: 222.9 MB / 242.2 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001087, allocations: 42.78 kB / 301.3 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08297/0.08408, allocations: 49.46 MB / 350.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006693/0.09081, allocations: 5.604 MB / 356.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003607/0.09446, allocations: 1.791 MB / 358.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007152/0.09521, allocations: 27.88 kB / 358.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003753/0.09902, allocations: 1.62 MB / 359.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.1012, allocations: 0.746 MB / 360.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.102, allocations: 279.4 kB / 360.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.1031, allocations: 0.7977 MB / 361.6 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.1045, allocations: 0.8684 MB / 362.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004987/0.105, allocations: 358.6 kB / 362.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006498/0.1057, allocations: 498.2 kB / 363.3 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.1059, allocations: 76 kB / 363.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005732/0.1064, allocations: 239.8 kB / 363.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.1066, allocations: 187.4 kB / 363.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.107, allocations: 421.9 kB / 364.2 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.1083, allocations: 1.152 MB / 365.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1083, allocations: 0 / 365.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1083, allocations: 0 / 365.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.881e-05/0.1084, allocations: 0 / 365.4 MB, free: 5.715 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.003468/0.1118, allocations: 1.349 MB / 366.7 MB, free: 4.316 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.1119, allocations: 19.97 kB / 366.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004765/0.1167, allocations: 0.6555 MB / 367.4 MB, free: 3.641 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005608/0.1173, allocations: 407.2 kB / 367.8 MB, free: 3.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/0.1173, allocations: 78.31 kB / 367.9 MB, free: 3.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.1175, allocations: 96.38 kB / 368 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.1191, allocations: 0.9863 MB / 368.9 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.1191, allocations: 4 kB / 368.9 MB, free: 2.027 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.911e-05/0.1192, allocations: 40 kB / 369 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.1193, allocations: 24 kB / 369 MB, free: 1.965 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.1209, allocations: 0.9218 MB / 369.9 MB, free: 1.047 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1548/0.2756, allocations: 3.372 MB / 373.3 MB, free: 23.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.2779, allocations: 2.24 MB / 375.5 MB, free: 21.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004898/0.2784, allocations: 289.9 kB / 375.8 MB, free: 21.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.2786, allocations: 100.6 kB / 375.9 MB, free: 21.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.2786, allocations: 38.53 kB / 376 MB, free: 21.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 3.356e-06/0.2786, allocations: 0 / 376 MB, free: 21.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001487/0.2801, allocations: 0.722 MB / 376.7 MB, free: 20.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.2802, allocations: 111.6 kB / 376.8 MB, free: 20.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.2805, allocations: 265.4 kB / 377 MB, free: 20.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.2805, allocations: 40.64 kB / 377.1 MB, free: 20.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.2807, allocations: 375.6 kB / 377.5 MB, free: 20.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.2809, allocations: 223.7 kB / 377.7 MB, free: 20.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.2811, allocations: 141.4 kB / 377.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.768e-05/0.2812, allocations: 354.4 kB / 378.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/0.2816, allocations: 221.2 kB / 378.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/0.282, allocations: 438.9 kB / 378.8 MB, free: 19.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008622/0.2829, allocations: 0.6946 MB / 379.5 MB, free: 18.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.2829, allocations: 2.062 kB / 379.5 MB, free: 18.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00122/0.2842, allocations: 0.7448 MB / 380.2 MB, free: 18.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.2842, allocations: 11.89 kB / 380.3 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.2842, allocations: 6.844 kB / 380.3 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.2842, allocations: 11.28 kB / 380.3 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.2849, allocations: 187 kB / 380.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.285, allocations: 15.53 kB / 380.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.2854, allocations: 83.09 kB / 380.6 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.2854, allocations: 35.19 kB / 380.6 MB, free: 18.47 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.0002466/0.2857, allocations: 227 kB / 380.8 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.2858, allocations: 39.06 kB / 380.8 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.2869, allocations: 0.646 MB / 381.5 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.2869, allocations: 8.562 kB / 381.5 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.287, allocations: 3.828 kB / 381.5 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.287, allocations: 5.344 kB / 381.5 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.2891, allocations: 1.486 MB / 383 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2891, allocations: 0.5938 kB / 383 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.2897, allocations: 143.3 kB / 383.1 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.2897, allocations: 3.594 kB / 383.1 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.2898, allocations: 14.66 kB / 383.2 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.2898, allocations: 4.391 kB / 383.2 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2898, allocations: 0 / 383.2 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.2912, allocations: 1.125 MB / 384.3 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.764e-05/0.2913, allocations: 124.7 kB / 384.4 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.2914, allocations: 15.62 kB / 384.4 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.2917, allocations: 21.53 kB / 384.4 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.2919, allocations: 45.14 kB / 384.5 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.2919, allocations: 23.33 kB / 384.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.2921, allocations: 184.7 kB / 384.7 MB, free: 16.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2921, allocations: 0 / 384.7 MB, free: 16.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007955/0.2929, allocations: 221.8 kB / 384.9 MB, free: 16.16 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.000221/0.2931, allocations: 157.6 kB / 385.1 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.2945, allocations: 0.6453 MB / 385.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2945, allocations: 0 / 385.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.2949, allocations: 305.5 kB / 386 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.2955, allocations: 43.03 kB / 386 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.2975, allocations: 1.28 MB / 387.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.2978, allocations: 0.9014 MB / 388.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.298, allocations: 56.88 kB / 388.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.298, allocations: 0 / 388.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of Templates: time 0.01004/0.3081, allocations: 7.194 MB / 395.5 MB, free: 11.45 MB / 302.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/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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches