Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001796/0.001796, 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.379/1.379, allocations: 205.6 MB / 223.7 MB, free: 8.945 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.0007456/0.0007456, allocations: 86.36 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002669, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2551, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.003473/0.2586, allocations: 3.199 MB / 379.8 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.26, allocations: 1.058 MB / 380.9 MB, free: 42.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.2602, allocations: 15.38 kB / 380.9 MB, free: 42.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.2605, allocations: 126.4 kB / 381 MB, free: 42.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006146/0.2611, allocations: 250.4 kB / 381.2 MB, free: 41.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.2613, allocations: 119.3 kB / 381.4 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.2628, allocations: 1.663 MB / 383 MB, free: 40.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.2638, allocations: 0.9301 MB / 384 MB, free: 40.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006226/0.2645, allocations: 474.5 kB / 384.4 MB, free: 40.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007633/0.2652, allocations: 0.6473 MB / 385.1 MB, free: 39.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.2654, allocations: 73.91 kB / 385.1 MB, free: 39.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.2656, allocations: 74.34 kB / 385.2 MB, free: 39.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002802/0.2659, allocations: 357.3 kB / 385.6 MB, free: 39.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004908/0.2664, allocations: 0.6375 MB / 386.2 MB, free: 38.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.2675, allocations: 1.917 MB / 388.1 MB, free: 36.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.2675, allocations: 0 / 388.1 MB, free: 36.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.857e-06/0.2675, allocations: 0 / 388.1 MB, free: 36.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.2675, allocations: 0 / 388.1 MB, free: 36.89 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002199/0.2697, allocations: 1.442 MB / 389.6 MB, free: 35.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.2698, allocations: 11.97 kB / 389.6 MB, free: 35.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.27, allocations: 143.2 kB / 389.7 MB, free: 35.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000902/0.2709, allocations: 0.8034 MB / 390.5 MB, free: 34.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.2709, allocations: 78.59 kB / 390.6 MB, free: 34.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.2711, allocations: 111.9 kB / 390.7 MB, free: 34.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.273, allocations: 1.544 MB / 392.2 MB, free: 32.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.273, allocations: 0 / 392.2 MB, free: 32.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.611e-05/0.2731, allocations: 48 kB / 392.3 MB, free: 32.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.2731, allocations: 28 kB / 392.3 MB, free: 32.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.2747, allocations: 1.308 MB / 393.6 MB, free: 31.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005018/0.2798, allocations: 4.256 MB / 397.9 MB, free: 26.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009391/0.2807, allocations: 1.315 MB / 399.2 MB, free: 25.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005501/0.2813, allocations: 470.5 kB / 399.6 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.2814, allocations: 4.438 kB / 399.7 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.2814, allocations: 39 kB / 399.7 MB, free: 24.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 3.125e-06/0.2814, allocations: 0 / 399.7 MB, free: 24.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.002581/0.284, allocations: 1.977 MB / 401.7 MB, free: 22.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.284, allocations: 63.84 kB / 401.7 MB, free: 22.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007349/0.2848, allocations: 0.8087 MB / 402.5 MB, free: 21.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.2848, allocations: 37.7 kB / 402.6 MB, free: 21.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.285, allocations: 0.5375 MB / 403.1 MB, free: 21.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.842e-05/0.2851, allocations: 177.5 kB / 403.3 MB, free: 21.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.2852, allocations: 8 kB / 403.3 MB, free: 21.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.25e-05/0.2853, allocations: 390.6 kB / 403.7 MB, free: 20.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.2856, allocations: 312.9 kB / 404 MB, free: 20.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.286, allocations: 403.4 kB / 404.4 MB, free: 20.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/0.2868, allocations: 0.7067 MB / 405.1 MB, free: 19.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.2868, allocations: 4 kB / 405.1 MB, free: 19.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001084/0.2879, allocations: 0.9243 MB / 406 MB, free: 18.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2879, allocations: 10.81 kB / 406 MB, free: 18.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.2879, allocations: 4 kB / 406 MB, free: 18.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/0.2882, allocations: 112.9 kB / 406.1 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.2886, allocations: 123.8 kB / 406.3 MB, free: 18.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.2903, allocations: 2.174 MB / 408.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.2906, allocations: 36.12 kB / 408.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.2907, allocations: 23.94 kB / 408.5 MB, free: 15.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005663/0.2913, allocations: 460.4 kB / 408.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.759e-05/0.2914, allocations: 71.16 kB / 409 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.2915, allocations: 95.08 kB / 409.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2915, allocations: 4 kB / 409.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.2915, allocations: 4 kB / 409.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2915, allocations: 3.984 kB / 409.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.2939, allocations: 2.043 MB / 411.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2939, allocations: 0 / 411.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.2943, allocations: 96.05 kB / 411.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/0.2945, allocations: 108.8 kB / 411.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.2945, allocations: 12 kB / 411.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.296, allocations: 2.139 MB / 413.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.296, allocations: 8 kB / 413.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.2973, allocations: 1.211 MB / 414.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.2974, allocations: 168.2 kB / 414.9 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/0.2975, allocations: 8 kB / 414.9 MB, free: 9.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.2979, allocations: 55.89 kB / 415 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/0.298, allocations: 44.44 kB / 415 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.298, allocations: 16 kB / 415 MB, free: 8.918 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005621/0.2986, allocations: 0.5849 MB / 415.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2986, allocations: 0 / 415.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000654/0.2993, allocations: 208 kB / 415.8 MB, free: 8.137 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.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 (43): * Single equations (assignments): 42 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001383/0.2994, allocations: 119.1 kB / 415.9 MB, free: 8.012 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.3005, allocations: 0.8244 MB / 416.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3005, allocations: 4 kB / 416.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005648/0.3011, allocations: 497.5 kB / 417.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000882/0.302, allocations: 178.9 kB / 417.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.3049, allocations: 2.739 MB / 420.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.3055, allocations: 1.336 MB / 421.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003836/0.3059, allocations: 185.8 kB / 421.7 MB, free: 2.164 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.306, allocations: 47.44 kB / 421.7 MB, free: 2.117 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.306, allocations: 0 / 421.7 MB, free: 2.117 MB / 298.7 MB Notification: Performance of Templates: time 0.01699/0.323, allocations: 9.836 MB / 431.5 MB, free: 8.316 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches