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.001048/0.001048, allocations: 110.7 kB / 16.62 MB, free: 6.809 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.0009883/0.0009883, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.308/1.308, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 43.83 kB / 300.1 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0872/0.08833, allocations: 49.44 MB / 349.6 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006546/0.09492, allocations: 5.584 MB / 355.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003129/0.09807, allocations: 1.783 MB / 356.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005273/0.09862, allocations: 20 kB / 357 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003472/0.1021, allocations: 1.539 MB / 358.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.1038, allocations: 0.6728 MB / 359.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.1044, allocations: 253.8 kB / 359.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009849/0.1054, allocations: 0.7977 MB / 360.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.1068, allocations: 0.9851 MB / 361.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.1072, allocations: 350.6 kB / 361.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.1078, allocations: 486.2 kB / 362 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.108, allocations: 83.98 kB / 362.1 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000461/0.1084, allocations: 239.8 kB / 362.3 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.1086, allocations: 179.4 kB / 362.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003775/0.1089, allocations: 425.9 kB / 362.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.1101, allocations: 1.152 MB / 364.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1101, allocations: 4 kB / 364.1 MB, free: 6.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1101, allocations: 0 / 364.1 MB, free: 6.172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.1101, allocations: 3.938 kB / 364.1 MB, free: 6.168 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.003218/0.1133, allocations: 1.346 MB / 365.4 MB, free: 4.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1134, allocations: 8.031 kB / 365.4 MB, free: 4.762 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004718/0.1181, allocations: 0.6555 MB / 366.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.1186, allocations: 423.1 kB / 366.5 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.866e-05/0.1187, allocations: 66.38 kB / 366.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.1188, allocations: 96.38 kB / 366.7 MB, free: 3.496 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.1205, allocations: 0.9862 MB / 367.7 MB, free: 2.492 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.1206, allocations: 3.984 kB / 367.7 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.38e-05/0.1207, allocations: 40 kB / 367.7 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.1207, allocations: 24 kB / 367.7 MB, free: 2.426 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.1223, allocations: 0.9252 MB / 368.6 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1492/0.2715, allocations: 3.353 MB / 372 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.2735, allocations: 2.246 MB / 374.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/0.2739, allocations: 292 kB / 374.5 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.469e-05/0.274, allocations: 99.12 kB / 374.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.2741, allocations: 44.08 kB / 374.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.414e-06/0.2741, allocations: 0 / 374.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001308/0.2754, allocations: 0.7139 MB / 375.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.2755, allocations: 111.5 kB / 375.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.2757, allocations: 271.2 kB / 375.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.2758, allocations: 44.19 kB / 375.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.2759, allocations: 376.5 kB / 376.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.276, allocations: 227.7 kB / 376.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.2762, allocations: 138.2 kB / 376.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.2763, allocations: 345.1 kB / 376.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.2767, allocations: 222.7 kB / 377.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004531/0.2772, allocations: 438.3 kB / 377.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008337/0.278, allocations: 0.6949 MB / 378.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.278, allocations: 2.75 kB / 378.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001159/0.2792, allocations: 0.7518 MB / 379 MB, free: 11.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2792, allocations: 7.219 kB / 379 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.2792, allocations: 6.406 kB / 379 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.2793, allocations: 13.97 kB / 379 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.2799, allocations: 190.3 kB / 379.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/0.28, allocations: 16.77 kB / 379.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.2804, allocations: 77.69 kB / 379.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.2804, allocations: 34.53 kB / 379.3 MB, free: 11.23 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.0002244/0.2807, allocations: 222.8 kB / 379.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.2808, allocations: 45.44 kB / 379.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.2819, allocations: 0.6455 MB / 380.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.2819, allocations: 7.938 kB / 380.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2819, allocations: 3.469 kB / 380.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.2819, allocations: 6.188 kB / 380.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.284, allocations: 1.48 MB / 381.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.284, allocations: 7.094 kB / 381.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/0.2846, allocations: 140 kB / 381.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.2846, allocations: 3.5 kB / 381.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.2846, allocations: 16.11 kB / 381.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.2847, allocations: 5.891 kB / 381.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2847, allocations: 3.938 kB / 381.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.286, allocations: 1.124 MB / 383 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.829e-05/0.2861, allocations: 123.9 kB / 383.1 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.371e-05/0.2862, allocations: 19.73 kB / 383.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.2865, allocations: 21.62 kB / 383.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/0.2866, allocations: 41.61 kB / 383.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.2867, allocations: 22.81 kB / 383.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.2868, allocations: 184.3 kB / 383.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2868, allocations: 3.812 kB / 383.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007045/0.2875, allocations: 221.5 kB / 383.6 MB, free: 9.109 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.0001941/0.2877, allocations: 150.2 kB / 383.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.289, allocations: 0.6419 MB / 384.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.289, allocations: 0 / 384.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004237/0.2894, allocations: 300.2 kB / 384.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/0.29, allocations: 45.47 kB / 384.7 MB, free: 8.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.2919, allocations: 1.612 MB / 386.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.2923, allocations: 0.9032 MB / 387.3 MB, free: 6.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003429/0.2926, allocations: 81.89 kB / 387.3 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.2927, allocations: 49.22 kB / 387.4 MB, free: 6.875 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2927, allocations: 4 kB / 387.4 MB, free: 6.871 MB / 302.1 MB Notification: Performance of Templates: time 0.009416/0.3022, allocations: 4.682 MB / 392.1 MB, free: 6.418 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/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