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.AsymmetricalLoad.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.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 175.6 kB / 16.71 MB, free: 5.094 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.228/1.228, allocations: 225.7 MB / 243.2 MB, free: 8.438 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.0009386/0.0009386, allocations: 101.5 kB / 294.4 MB, free: 9.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002102/0.0002103, allocations: 11.94 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1958, allocations: 50.41 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.003977/0.1998, allocations: 5.173 MB / 409.8 MB, free: 26.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.2019, allocations: 2.195 MB / 411.9 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003055/0.2022, allocations: 31.88 kB / 412 MB, free: 23.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006612/0.2029, allocations: 333.5 kB / 412.3 MB, free: 23.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007749/0.2037, allocations: 0.5097 MB / 412.8 MB, free: 23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.204, allocations: 195.8 kB / 413 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.2054, allocations: 2.498 MB / 415.5 MB, free: 20.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.2068, allocations: 1.852 MB / 417.4 MB, free: 18.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.2084, allocations: 0.7902 MB / 418.1 MB, free: 17.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008018/0.2092, allocations: 1.007 MB / 419.2 MB, free: 16.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.2094, allocations: 124 kB / 419.3 MB, free: 16.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.2098, allocations: 215.8 kB / 419.5 MB, free: 16.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.2101, allocations: 0.5021 MB / 420 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006377/0.2107, allocations: 1.036 MB / 421 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.2124, allocations: 3.55 MB / 424.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2125, allocations: 0 / 424.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2125, allocations: 0 / 424.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.617e-05/0.2125, allocations: 0 / 424.6 MB, free: 11.13 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.002613/0.2151, allocations: 2.03 MB / 426.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.2152, allocations: 8.031 kB / 426.6 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004948/0.2157, allocations: 250.3 kB / 426.9 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.2171, allocations: 1.31 MB / 428.2 MB, free: 7.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.415e-05/0.2172, allocations: 139.5 kB / 428.3 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.2174, allocations: 172 kB / 428.5 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/0.2206, allocations: 2.532 MB / 431 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.2206, allocations: 0 / 431 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.2208, allocations: 75.98 kB / 431.1 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.366e-05/0.2208, allocations: 99.52 kB / 431.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.2234, allocations: 2.107 MB / 433.3 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008899/0.2323, allocations: 7.503 MB / 440.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.2337, allocations: 1.264 MB / 442 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006366/0.2344, allocations: 492.1 kB / 442.5 MB, free: 8.656 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.2346, allocations: 113.5 kB / 442.6 MB, free: 8.531 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.2346, allocations: 43 kB / 442.7 MB, free: 8.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 2.114e-06/0.2346, allocations: 0 / 442.7 MB, free: 8.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.00352/0.2381, allocations: 2.288 MB / 445 MB, free: 6.109 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.2382, allocations: 81.55 kB / 445 MB, free: 6.012 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.2399, allocations: 1.5 MB / 446.5 MB, free: 4.504 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.24, allocations: 45.64 kB / 446.6 MB, free: 4.453 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005786/0.2405, allocations: 0.9711 MB / 447.6 MB, free: 3.469 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.2407, allocations: 201.2 kB / 447.8 MB, free: 3.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.2407, allocations: 24 kB / 447.8 MB, free: 3.246 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2409, allocations: 357.9 kB / 448.1 MB, free: 2.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006252/0.2415, allocations: 454.3 kB / 448.6 MB, free: 2.445 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009562/0.2425, allocations: 1.094 MB / 449.7 MB, free: 1.039 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.2441, allocations: 1.627 MB / 451.3 MB, free: 15.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.2441, allocations: 8 kB / 451.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002306/0.2464, allocations: 1.687 MB / 453 MB, free: 13.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.2465, allocations: 15.98 kB / 453 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.2465, allocations: 28 kB / 453 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006928/0.2472, allocations: 173 kB / 453.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007998/0.248, allocations: 291.5 kB / 453.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.25, allocations: 2.158 MB / 455.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007709/0.2508, allocations: 87.67 kB / 455.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.473e-05/0.2509, allocations: 67.98 kB / 455.8 MB, free: 10.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008871/0.2518, allocations: 0.7156 MB / 456.5 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.2519, allocations: 134.3 kB / 456.6 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.2532, allocations: 0.8452 MB / 457.5 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.2533, allocations: 8 kB / 457.5 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.2533, allocations: 0 / 457.5 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2533, allocations: 4.172 kB / 457.5 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/0.2566, allocations: 2.506 MB / 460 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.2566, allocations: 7.938 kB / 460 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.257, allocations: 99.88 kB / 460.1 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006068/0.2576, allocations: 156.8 kB / 460.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.2576, allocations: 20 kB / 460.3 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.2595, allocations: 2.092 MB / 462.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.2595, allocations: 7.938 kB / 462.4 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.2612, allocations: 1.331 MB / 463.7 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.2616, allocations: 279.6 kB / 464 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.2617, allocations: 19.98 kB / 464 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.2622, allocations: 52.03 kB / 464.1 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.2624, allocations: 47.88 kB / 464.1 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.2624, allocations: 19.94 kB / 464.1 MB, free: 1.785 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001221/0.2636, allocations: 1.028 MB / 465.2 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2636, allocations: 0 / 465.2 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00105/0.2647, allocations: 348 kB / 465.5 MB, free: 424 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * Array equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000393/0.2651, allocations: 199.1 kB / 465.7 MB, free: 224 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.2667, allocations: 1.164 MB / 466.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.2667, allocations: 3.953 kB / 466.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006964/0.2674, allocations: 0.52 MB / 467.4 MB, free: 14.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.2691, allocations: 356.6 kB / 467.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004332/0.2735, allocations: 3.991 MB / 471.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.2746, allocations: 1.698 MB / 473.4 MB, free: 8.363 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007671/0.2754, allocations: 331.3 kB / 473.7 MB, free: 8.035 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.2756, allocations: 91.42 kB / 473.8 MB, free: 7.945 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2756, allocations: 4 kB / 473.8 MB, free: 7.941 MB / 346.7 MB Notification: Performance of Templates: time 0.02633/0.3019, allocations: 17.59 MB / 491.4 MB, free: 6.535 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches