Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009202/0.0009204, allocations: 179.5 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.7 MB / 243.2 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007646/0.0007648, allocations: 85.98 kB / 294.4 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000238/0.000238, allocations: 4 kB / 354.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1834, allocations: 50.41 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.005328/0.1888, allocations: 6.811 MB / 411.4 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.1925, allocations: 2.838 MB / 414.2 MB, free: 21.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006099/0.1931, allocations: 59.69 kB / 414.3 MB, free: 21.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008533/0.194, allocations: 486.7 kB / 414.8 MB, free: 21.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.195, allocations: 0.6841 MB / 415.4 MB, free: 20.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.1955, allocations: 363.6 kB / 415.8 MB, free: 20.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002003/0.1975, allocations: 3.678 MB / 419.5 MB, free: 16.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.1997, allocations: 2.936 MB / 422.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.2016, allocations: 1.226 MB / 423.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.203, allocations: 1.645 MB / 425.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.2032, allocations: 188 kB / 425.5 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006465/0.2039, allocations: 415.5 kB / 425.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005412/0.2044, allocations: 0.9032 MB / 426.8 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.2054, allocations: 1.614 MB / 428.4 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002935/0.2084, allocations: 5.719 MB / 434.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2084, allocations: 0 / 434.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2084, allocations: 7.938 kB / 434.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.865e-05/0.2085, allocations: 0 / 434.1 MB, free: 1.57 MB / 298.7 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.004736/0.2132, allocations: 3.184 MB / 437.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2133, allocations: 15.97 kB / 437.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007982/0.2141, allocations: 388.7 kB / 437.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/0.2169, allocations: 2.088 MB / 439.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.217, allocations: 221.8 kB / 440 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003667/0.2174, allocations: 284 kB / 440.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005908/0.2233, allocations: 4.179 MB / 444.5 MB, free: 7.055 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.2234, allocations: 0 / 444.5 MB, free: 7.055 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/0.2236, allocations: 116 kB / 444.6 MB, free: 6.941 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.2238, allocations: 145.9 kB / 444.7 MB, free: 6.797 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005009/0.2288, allocations: 3.474 MB / 448.2 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01526/0.2441, allocations: 10.98 MB / 459.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.2467, allocations: 2.654 MB / 461.8 MB, free: 5.266 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/0.2488, allocations: 1.493 MB / 463.3 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.2491, allocations: 126 kB / 463.4 MB, free: 3.633 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.2491, allocations: 47.56 kB / 463.5 MB, free: 3.578 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 3.406e-06/0.2492, allocations: 0 / 463.5 MB, free: 3.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=133): time 0.007974/0.2571, allocations: 5.195 MB / 468.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.2572, allocations: 90.42 kB / 468.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/0.2595, allocations: 1.898 MB / 470.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.306e-05/0.2596, allocations: 45.7 kB / 470.7 MB, free: 12.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008116/0.2604, allocations: 1.322 MB / 472 MB, free: 10.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/0.2607, allocations: 457.3 kB / 472.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/0.2608, allocations: 36 kB / 472.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.261, allocations: 369.8 kB / 472.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.2621, allocations: 0.812 MB / 473.7 MB, free: 9.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.2635, allocations: 1.186 MB / 474.9 MB, free: 7.922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.266, allocations: 2.079 MB / 477 MB, free: 5.703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.266, allocations: 0 / 477 MB, free: 5.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003653/0.2697, allocations: 2.523 MB / 479.5 MB, free: 3.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2697, allocations: 8 kB / 479.5 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.2697, allocations: 16.19 kB / 479.5 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.2715, allocations: 477.5 kB / 480 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.2728, allocations: 343.5 kB / 480.3 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004644/0.2775, allocations: 4.056 MB / 484.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009931/0.2785, allocations: 91.83 kB / 484.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.2786, allocations: 63.98 kB / 484.5 MB, free: 14.01 MB / 362.7 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.001408/0.28, allocations: 1.04 MB / 485.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.2803, allocations: 193.6 kB / 485.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/0.2835, allocations: 2.149 MB / 487.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-05/0.2836, allocations: 20 kB / 487.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2836, allocations: 4 kB / 487.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.2836, allocations: 7.969 kB / 487.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007325/0.2909, allocations: 5.206 MB / 493.1 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/0.2909, allocations: 4 kB / 493.1 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009434/0.2919, allocations: 227.6 kB / 493.4 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.2936, allocations: 467 kB / 493.8 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.94e-05/0.2937, allocations: 35.98 kB / 493.8 MB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004476/0.2982, allocations: 3.964 MB / 497.8 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2982, allocations: 0 / 497.8 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004396/0.3026, allocations: 3.253 MB / 0.4893 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007341/0.3034, allocations: 474.6 kB / 0.4898 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.3036, allocations: 31.98 kB / 0.4898 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008965/0.3045, allocations: 108 kB / 0.4899 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.3047, allocations: 88.86 kB / 0.49 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.389e-05/0.3048, allocations: 36 kB / 0.49 GB, free: 12.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001678/0.3065, allocations: 1.33 MB / 0.4913 GB, free: 11.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3065, allocations: 0 / 0.4913 GB, free: 11.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001441/0.308, allocations: 0.5547 MB / 0.4919 GB, free: 10.53 MB / 378.7 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.0004834/0.3085, allocations: 235.5 kB / 0.4921 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003114/0.3116, allocations: 2.196 MB / 0.4942 GB, free: 8.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3116, allocations: 192 / 0.4942 GB, free: 8.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.3133, allocations: 1.214 MB / 0.4954 GB, free: 6.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.3155, allocations: 486.3 kB / 0.4959 GB, free: 6.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1517/0.4672, allocations: 7.085 MB / 0.5028 GB, free: 93.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001937/0.4692, allocations: 2.423 MB / 0.5052 GB, free: 92.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001275/0.4705, allocations: 0.4887 MB / 0.5056 GB, free: 92.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/0.4708, allocations: 130.6 kB / 0.5058 GB, free: 92.75 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4708, allocations: 0 / 0.5058 GB, free: 92.75 MB / 378.7 MB Notification: Performance of Templates: time 0.03686/0.5077, allocations: 28.66 MB / 0.5338 GB, free: 71.03 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches