Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 105.8 kB / 17.59 MB, free: 5.445 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.001131/0.001131, allocations: 187.3 kB / 18.51 MB, free: 4.527 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.34/1.34, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 48.23 kB / 301.3 MB, free: 5.91 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07991/0.081, allocations: 49.45 MB / 350.7 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008886/0.08992, allocations: 7.759 MB / 358.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005103/0.09507, allocations: 2.652 MB / 361.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.09653, allocations: 67.69 kB / 361.2 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.09826, allocations: 0.5667 MB / 361.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.1008, allocations: 0.734 MB / 362.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.102, allocations: 419.4 kB / 362.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003902/0.1059, allocations: 3.261 MB / 366.2 MB, free: 4.918 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004666/0.1106, allocations: 3.588 MB / 369.8 MB, free: 1.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1553/0.2659, allocations: 1.647 MB / 371.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003974/0.27, allocations: 2.03 MB / 373.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001362/0.2714, allocations: 460.6 kB / 373.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.2735, allocations: 0.6682 MB / 374.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.2749, allocations: 1.243 MB / 375.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002685/0.2776, allocations: 1.963 MB / 377.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006452/0.2841, allocations: 6.046 MB / 383.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2841, allocations: 0.5312 kB / 383.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2841, allocations: 1.406 kB / 383.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000191/0.2843, allocations: 1.156 kB / 383.8 MB, free: 9.848 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.009355/0.2937, allocations: 3.801 MB / 387.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.2938, allocations: 8.438 kB / 387.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.2952, allocations: 388.1 kB / 388 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003803/0.299, allocations: 2.088 MB / 390.1 MB, free: 5.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.2992, allocations: 224.8 kB / 390.3 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005348/0.2998, allocations: 287.8 kB / 390.6 MB, free: 5.594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007698/0.3075, allocations: 4.189 MB / 394.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.639e-05/0.3076, allocations: 0 / 394.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000301/0.3079, allocations: 121.3 kB / 394.9 MB, free: 3.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001738/0.3081, allocations: 145 kB / 395.1 MB, free: 3.043 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005501/0.3136, allocations: 3.487 MB / 398.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02031/0.3339, allocations: 10.9 MB / 409.4 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/0.3368, allocations: 2.642 MB / 412.1 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002344/0.3392, allocations: 1.478 MB / 413.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.3395, allocations: 124.7 kB / 413.7 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.3395, allocations: 54.12 kB / 413.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.737e-06/0.3396, allocations: 0 / 413.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01024/0.3498, allocations: 5.169 MB / 418.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.3499, allocations: 90.42 kB / 419 MB, free: 14.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003628/0.3536, allocations: 1.909 MB / 420.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002278/0.3538, allocations: 45.7 kB / 420.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009252/0.3547, allocations: 1.331 MB / 422.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005113/0.3553, allocations: 452.1 kB / 422.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005195/0.3558, allocations: 274 kB / 423 MB, free: 10.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.3559, allocations: 301.1 kB / 423.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.3572, allocations: 0.8198 MB / 424.1 MB, free: 8.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.3588, allocations: 1.184 MB / 425.3 MB, free: 7.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002906/0.3617, allocations: 2.086 MB / 427.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/0.3617, allocations: 4 kB / 427.4 MB, free: 5.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004614/0.3664, allocations: 2.52 MB / 429.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.3664, allocations: 14.33 kB / 429.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.3665, allocations: 12 kB / 429.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/0.3684, allocations: 472.2 kB / 430.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.3699, allocations: 340.9 kB / 430.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005793/0.3757, allocations: 4.407 MB / 435.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.3775, allocations: 79.92 kB / 435.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/0.3777, allocations: 59.98 kB / 435.3 MB, free: 13.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002519/0.3803, allocations: 1.057 MB / 436.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009554/0.3813, allocations: 193.7 kB / 436.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00618/0.3875, allocations: 2.145 MB / 438.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.796e-05/0.3876, allocations: 16 kB / 438.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.3876, allocations: 4 kB / 438.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/0.3876, allocations: 11.97 kB / 438.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/0.4026, allocations: 5.19 MB / 443.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.4026, allocations: 0 / 443.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/0.4043, allocations: 231.9 kB / 444.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00283/0.4072, allocations: 458 kB / 444.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/0.4074, allocations: 35.98 kB / 444.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008553/0.416, allocations: 4.304 MB / 448.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.416, allocations: 0 / 448.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009114/0.4251, allocations: 3.255 MB / 452.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/0.427, allocations: 450.8 kB / 452.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008908/0.4279, allocations: 31.36 kB / 452.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/0.4301, allocations: 99.95 kB / 452.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004053/0.4305, allocations: 100.5 kB / 452.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/0.4307, allocations: 36 kB / 452.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0039/0.4347, allocations: 1.334 MB / 454.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4347, allocations: 0 / 454.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003896/0.4386, allocations: 0.5585 MB / 454.7 MB, free: 9.871 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009746/0.4396, allocations: 229.5 kB / 455 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008372/0.448, allocations: 2.872 MB / 457.8 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.448, allocations: 4 kB / 457.8 MB, free: 6.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002143/0.4502, allocations: 1.208 MB / 459 MB, free: 5.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003648/0.4538, allocations: 0.51 MB / 459.6 MB, free: 5.117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.4662, allocations: 5.755 MB / 465.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/0.469, allocations: 2.359 MB / 467.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000777/0.4698, allocations: 139.4 kB / 467.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4698, allocations: 0 / 467.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of Templates: time 0.07086/0.5406, allocations: 50.92 MB / 0.5066 GB, free: 10.03 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches