Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001781/0.001781, allocations: 179.2 kB / 17.36 MB, free: 4.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.6 MB / 223.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008079/0.0008085, allocations: 90.42 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002274/0.0002275, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2034, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004906/0.2084, allocations: 5.122 MB / 381.7 MB, free: 41.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003651/0.2121, allocations: 2.265 MB / 384 MB, free: 39.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.2133, allocations: 32.19 kB / 384 MB, free: 39.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.2144, allocations: 338.9 kB / 384.4 MB, free: 39.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.2157, allocations: 0.5014 MB / 384.9 MB, free: 38.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.2161, allocations: 201.4 kB / 385.1 MB, free: 38.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002171/0.2183, allocations: 2.564 MB / 387.6 MB, free: 37.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.2196, allocations: 1.537 MB / 389.2 MB, free: 35.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.2216, allocations: 0.7996 MB / 390 MB, free: 35.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009368/0.2226, allocations: 1.011 MB / 391 MB, free: 34.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.2228, allocations: 128 kB / 391.1 MB, free: 33.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004212/0.2232, allocations: 219.8 kB / 391.3 MB, free: 33.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.2235, allocations: 0.5177 MB / 391.8 MB, free: 33.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007103/0.2242, allocations: 1.043 MB / 392.9 MB, free: 32.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.2261, allocations: 3.546 MB / 396.4 MB, free: 28.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2261, allocations: 0 / 396.4 MB, free: 28.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2261, allocations: 0 / 396.4 MB, free: 28.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.167e-05/0.2262, allocations: 0 / 396.4 MB, free: 28.56 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.00277/0.2289, allocations: 2.01 MB / 398.4 MB, free: 26.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.229, allocations: 8.031 kB / 398.4 MB, free: 26.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005032/0.2295, allocations: 254.4 kB / 398.7 MB, free: 26.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.2309, allocations: 1.228 MB / 399.9 MB, free: 24.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/0.231, allocations: 135.5 kB / 400 MB, free: 24.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.2312, allocations: 172 kB / 400.2 MB, free: 24.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003082/0.2342, allocations: 2.539 MB / 402.7 MB, free: 22.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.2343, allocations: 0 / 402.7 MB, free: 22.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.2344, allocations: 72 kB / 402.8 MB, free: 22.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.961e-05/0.2345, allocations: 95.58 kB / 402.9 MB, free: 21.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.2372, allocations: 2.103 MB / 405 MB, free: 19.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00769/0.2449, allocations: 7.531 MB / 412.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.2459, allocations: 1.26 MB / 413.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005546/0.2465, allocations: 482.9 kB / 414.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.2466, allocations: 117.5 kB / 414.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.2467, allocations: 39 kB / 414.4 MB, free: 9.996 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 2.905e-06/0.2467, allocations: 3.984 kB / 414.4 MB, free: 9.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.003068/0.2498, allocations: 2.288 MB / 416.7 MB, free: 7.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.2498, allocations: 85.48 kB / 416.8 MB, free: 7.523 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.2513, allocations: 1.496 MB / 418.3 MB, free: 6.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.2514, allocations: 37.7 kB / 418.3 MB, free: 5.977 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.2517, allocations: 0.979 MB / 419.3 MB, free: 4.984 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.72e-05/0.2518, allocations: 197.3 kB / 419.5 MB, free: 4.789 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.2519, allocations: 24 kB / 419.5 MB, free: 4.766 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.252, allocations: 357.8 kB / 419.9 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/0.2525, allocations: 462.3 kB / 420.3 MB, free: 3.957 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007154/0.2532, allocations: 1.091 MB / 421.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.2546, allocations: 1.627 MB / 423.1 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.2546, allocations: 8 kB / 423.1 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002375/0.257, allocations: 1.687 MB / 424.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.257, allocations: 12 kB / 424.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/0.2571, allocations: 24 kB / 424.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007489/0.2578, allocations: 176.8 kB / 425 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009065/0.2587, allocations: 287.6 kB / 425.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.261, allocations: 2.158 MB / 427.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.262, allocations: 87.67 kB / 427.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.428e-05/0.2621, allocations: 67.98 kB / 427.5 MB, free: 11.97 MB / 314.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.001045/0.2632, allocations: 0.7001 MB / 428.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.2635, allocations: 142.3 kB / 428.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.2648, allocations: 0.8452 MB / 429.2 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.2649, allocations: 8 kB / 429.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2649, allocations: 0 / 429.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2649, allocations: 3.984 kB / 429.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/0.2684, allocations: 2.522 MB / 431.8 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.2684, allocations: 4.188 kB / 431.8 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.2688, allocations: 99.88 kB / 431.9 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006294/0.2694, allocations: 156.6 kB / 432 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.2695, allocations: 19.98 kB / 432 MB, free: 7.355 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.2715, allocations: 2.104 MB / 434.1 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.2715, allocations: 4 kB / 434.1 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.2733, allocations: 1.328 MB / 435.5 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/0.2737, allocations: 287.5 kB / 435.8 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.2739, allocations: 16 kB / 435.8 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000559/0.2744, allocations: 51.95 kB / 435.8 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.2746, allocations: 59.81 kB / 435.9 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.2746, allocations: 16 kB / 435.9 MB, free: 3.289 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001289/0.2759, allocations: 1.028 MB / 436.9 MB, free: 2.258 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2759, allocations: 0 / 436.9 MB, free: 2.258 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001127/0.277, allocations: 348 kB / 437.3 MB, free: 1.918 MB / 314.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.0003773/0.2774, allocations: 195 kB / 437.5 MB, free: 1.727 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.2791, allocations: 1.161 MB / 438.6 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2792, allocations: 0 / 438.6 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007193/0.2799, allocations: 0.511 MB / 439.1 MB, free: 36 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.2816, allocations: 352.6 kB / 439.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/0.2864, allocations: 3.982 MB / 443.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.2877, allocations: 1.706 MB / 445.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009006/0.2886, allocations: 323.3 kB / 445.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.2888, allocations: 87.42 kB / 445.6 MB, free: 9.484 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2888, allocations: 0 / 445.6 MB, free: 9.484 MB / 330.7 MB Notification: Performance of Templates: time 0.02812/0.3169, allocations: 17.61 MB / 463.2 MB, free: 7.961 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches