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.TransformerYD.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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001267, allocations: 180.7 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.392/1.392, allocations: 205.6 MB / 223.7 MB, free: 8.941 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.0007348/0.000735, allocations: 90.38 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002346/0.0002347, allocations: 4 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.234, allocations: 47.59 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.003339/0.2374, allocations: 3.213 MB / 379.8 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.239, allocations: 1.1 MB / 380.9 MB, free: 42.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.2393, allocations: 15.47 kB / 380.9 MB, free: 42.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.2395, allocations: 125.6 kB / 381.1 MB, free: 42.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006112/0.2401, allocations: 266.9 kB / 381.3 MB, free: 41.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.2403, allocations: 122.1 kB / 381.4 MB, free: 41.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.2417, allocations: 1.696 MB / 383.1 MB, free: 40.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.2427, allocations: 0.9531 MB / 384.1 MB, free: 40.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005319/0.2433, allocations: 498.5 kB / 384.6 MB, free: 40 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006883/0.244, allocations: 0.6503 MB / 385.2 MB, free: 39.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.2441, allocations: 75.47 kB / 385.3 MB, free: 39.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.2443, allocations: 80.38 kB / 385.4 MB, free: 39.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.2446, allocations: 367.3 kB / 385.7 MB, free: 39.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004763/0.2451, allocations: 0.6429 MB / 386.4 MB, free: 38.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009887/0.2461, allocations: 1.94 MB / 388.3 MB, free: 36.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2461, allocations: 0 / 388.3 MB, free: 36.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2461, allocations: 0 / 388.3 MB, free: 36.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.2461, allocations: 0 / 388.3 MB, free: 36.69 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001892/0.248, allocations: 1.458 MB / 389.8 MB, free: 35.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2481, allocations: 12.03 kB / 389.8 MB, free: 35.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.2482, allocations: 139.2 kB / 389.9 MB, free: 35.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008595/0.2491, allocations: 0.8267 MB / 390.7 MB, free: 34.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.2492, allocations: 86.62 kB / 390.8 MB, free: 34.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.2493, allocations: 115.9 kB / 390.9 MB, free: 33.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.2511, allocations: 1.564 MB / 392.5 MB, free: 32.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.2511, allocations: 0 / 392.5 MB, free: 32.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/0.2512, allocations: 48 kB / 392.6 MB, free: 32.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.2512, allocations: 28 kB / 392.6 MB, free: 32.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.2528, allocations: 1.328 MB / 393.9 MB, free: 30.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00477/0.2576, allocations: 4.369 MB / 398.3 MB, free: 26.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007929/0.2584, allocations: 1.34 MB / 399.6 MB, free: 24.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006762/0.2591, allocations: 0.5605 MB / 400.2 MB, free: 24.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.2591, allocations: 4.438 kB / 400.2 MB, free: 24.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.2591, allocations: 39 kB / 400.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 1.874e-06/0.2591, allocations: 0 / 400.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001222/0.2604, allocations: 0.8885 MB / 401.1 MB, free: 23.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.2604, allocations: 55.84 kB / 401.2 MB, free: 23.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007552/0.2612, allocations: 0.8165 MB / 402 MB, free: 22.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.2612, allocations: 37.69 kB / 402 MB, free: 22.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.2614, allocations: 0.5454 MB / 402.6 MB, free: 21.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.33e-05/0.2615, allocations: 177.4 kB / 402.7 MB, free: 21.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.2616, allocations: 8 kB / 402.7 MB, free: 21.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.2616, allocations: 390.7 kB / 403.1 MB, free: 21.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.262, allocations: 304.9 kB / 403.4 MB, free: 21.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.2624, allocations: 406.5 kB / 403.8 MB, free: 20.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/0.2631, allocations: 0.6903 MB / 404.5 MB, free: 19.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.2631, allocations: 0 / 404.5 MB, free: 19.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009276/0.2641, allocations: 0.8337 MB / 405.3 MB, free: 19.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2641, allocations: 10.75 kB / 405.4 MB, free: 19.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2641, allocations: 4 kB / 405.4 MB, free: 19.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.2641, allocations: 4 kB / 405.4 MB, free: 19.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005248/0.2647, allocations: 156.1 kB / 405.5 MB, free: 18.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.2647, allocations: 4 kB / 405.5 MB, free: 18.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.265, allocations: 71.34 kB / 405.6 MB, free: 18.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.265, allocations: 16 kB / 405.6 MB, free: 18.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004174/0.2655, allocations: 462.4 kB / 406.1 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.2656, allocations: 71.16 kB / 406.1 MB, free: 18.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.2657, allocations: 103.1 kB / 406.2 MB, free: 18.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2657, allocations: 4 kB / 406.2 MB, free: 18.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2657, allocations: 7.922 kB / 406.2 MB, free: 18.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2657, allocations: 3.938 kB / 406.2 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.2678, allocations: 1.962 MB / 408.2 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2678, allocations: 4 kB / 408.2 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004489/0.2683, allocations: 123.8 kB / 408.3 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2683, allocations: 4.156 kB / 408.3 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.2683, allocations: 19.98 kB / 408.3 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2684, allocations: 4 kB / 408.4 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2684, allocations: 0 / 408.4 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.2695, allocations: 1.137 MB / 409.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.2696, allocations: 180.2 kB / 409.7 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.932e-05/0.2697, allocations: 12 kB / 409.7 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.2701, allocations: 51.95 kB / 409.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/0.2702, allocations: 44.31 kB / 409.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.2702, allocations: 16 kB / 409.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005141/0.2707, allocations: 0.5849 MB / 410.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2707, allocations: 0 / 410.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005304/0.2712, allocations: 282.7 kB / 410.6 MB, free: 13.64 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001092/0.2714, allocations: 119.2 kB / 410.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007503/0.2721, allocations: 0.6536 MB / 411.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2721, allocations: 4 kB / 411.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.2725, allocations: 331.1 kB / 411.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008422/0.2733, allocations: 170.9 kB / 411.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.276, allocations: 2.847 MB / 414.8 MB, free: 9.461 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.2765, allocations: 1.34 MB / 416.1 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003989/0.2769, allocations: 217.7 kB / 416.3 MB, free: 7.879 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.2771, allocations: 51.44 kB / 416.4 MB, free: 7.832 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2771, allocations: 0 / 416.4 MB, free: 7.832 MB / 298.7 MB Notification: Performance of Templates: time 0.0129/0.29, allocations: 9.404 MB / 425.8 MB, free: 14.47 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches