Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008777/0.000878, allocations: 175.5 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007721/0.000772, allocations: 89.42 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002987, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2281, allocations: 47.58 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.003077/0.2313, allocations: 3.193 MB / 378.3 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.233, allocations: 0.9662 MB / 379.2 MB, free: 42.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.2333, allocations: 14.75 kB / 379.3 MB, free: 42.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.2335, allocations: 113.9 kB / 379.4 MB, free: 42.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007145/0.2342, allocations: 252 kB / 379.6 MB, free: 41.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.2345, allocations: 90.81 kB / 379.7 MB, free: 41.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.2358, allocations: 1.5 MB / 381.2 MB, free: 40.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.2369, allocations: 0.9352 MB / 382.1 MB, free: 40.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007256/0.2376, allocations: 468.7 kB / 382.6 MB, free: 40.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007532/0.2384, allocations: 0.6263 MB / 383.2 MB, free: 39.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.2385, allocations: 74.5 kB / 383.3 MB, free: 39.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.2387, allocations: 78.66 kB / 383.4 MB, free: 39.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002932/0.239, allocations: 352.8 kB / 383.7 MB, free: 39.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005882/0.2396, allocations: 0.6096 MB / 384.3 MB, free: 39.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.2406, allocations: 1.625 MB / 386 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.2407, allocations: 0 / 386 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.2407, allocations: 4 kB / 386 MB, free: 37.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.2407, allocations: 0 / 386 MB, free: 37.77 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.002099/0.2428, allocations: 1.446 MB / 387.4 MB, free: 36.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.2429, allocations: 8.031 kB / 387.4 MB, free: 36.26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.243, allocations: 143.2 kB / 387.6 MB, free: 36.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009103/0.2439, allocations: 0.8034 MB / 388.4 MB, free: 35.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.244, allocations: 90.52 kB / 388.4 MB, free: 35.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.2441, allocations: 115.9 kB / 388.6 MB, free: 35.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.2461, allocations: 1.533 MB / 390.1 MB, free: 33.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.2462, allocations: 0 / 390.1 MB, free: 33.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.2463, allocations: 48 kB / 390.1 MB, free: 33.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.2463, allocations: 24 kB / 390.2 MB, free: 33.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.248, allocations: 1.316 MB / 391.5 MB, free: 32.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005182/0.2532, allocations: 4.252 MB / 395.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008338/0.2541, allocations: 1.324 MB / 397.1 MB, free: 26.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/0.2547, allocations: 462.5 kB / 397.5 MB, free: 25.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.2547, allocations: 4.438 kB / 397.5 MB, free: 25.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.2548, allocations: 42.94 kB / 397.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 4.067e-06/0.2548, allocations: 0 / 397.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.002839/0.2576, allocations: 1.966 MB / 399.5 MB, free: 23.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.2577, allocations: 63.84 kB / 399.6 MB, free: 23.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009033/0.2586, allocations: 0.8087 MB / 400.4 MB, free: 22.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.2586, allocations: 37.7 kB / 400.4 MB, free: 22.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.2588, allocations: 0.5414 MB / 401 MB, free: 22.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.215e-05/0.2589, allocations: 173.5 kB / 401.1 MB, free: 22.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.259, allocations: 12 kB / 401.1 MB, free: 22.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.2591, allocations: 386.7 kB / 401.5 MB, free: 21.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.2595, allocations: 312.9 kB / 401.8 MB, free: 21.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.2599, allocations: 403.4 kB / 402.2 MB, free: 20.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007767/0.2606, allocations: 0.7145 MB / 402.9 MB, free: 20.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2607, allocations: 0 / 402.9 MB, free: 20.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001145/0.2618, allocations: 0.9243 MB / 403.9 MB, free: 19.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.2618, allocations: 7.938 kB / 403.9 MB, free: 19.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.2619, allocations: 4 kB / 403.9 MB, free: 19.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002643/0.2621, allocations: 112.9 kB / 404 MB, free: 19.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/0.2626, allocations: 127.8 kB / 404.1 MB, free: 18.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.2643, allocations: 2.177 MB / 406.3 MB, free: 16.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.2647, allocations: 32.05 kB / 406.3 MB, free: 16.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.2647, allocations: 20 kB / 406.3 MB, free: 16.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006306/0.2654, allocations: 461.4 kB / 406.8 MB, free: 16.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.081e-05/0.2655, allocations: 71.16 kB / 406.9 MB, free: 16.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.2656, allocations: 95.06 kB / 407 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2656, allocations: 4.062 kB / 407 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.2656, allocations: 4 kB / 407 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2656, allocations: 3.984 kB / 407 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/0.2682, allocations: 2.051 MB / 409 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2683, allocations: 0 / 409 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.2686, allocations: 104 kB / 409.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002198/0.2688, allocations: 100.8 kB / 409.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.2689, allocations: 8.188 kB / 409.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.2704, allocations: 2.134 MB / 411.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2704, allocations: 0 / 411.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.2718, allocations: 1.211 MB / 412.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.272, allocations: 168.2 kB / 412.7 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.662e-05/0.2721, allocations: 12 kB / 412.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.2725, allocations: 52.02 kB / 412.8 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.2726, allocations: 44.38 kB / 412.8 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.2726, allocations: 19.98 kB / 412.9 MB, free: 9.793 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006994/0.2734, allocations: 0.5732 MB / 413.4 MB, free: 9.227 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2734, allocations: 0 / 413.4 MB, free: 9.227 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007919/0.2742, allocations: 216 kB / 413.6 MB, free: 9.016 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001445/0.2743, allocations: 107.2 kB / 413.7 MB, free: 8.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.2755, allocations: 0.8281 MB / 414.6 MB, free: 8.055 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2755, allocations: 0 / 414.6 MB, free: 8.055 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.2761, allocations: 0.4937 MB / 415.1 MB, free: 7.551 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009171/0.2771, allocations: 178.9 kB / 415.2 MB, free: 7.375 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.2803, allocations: 2.629 MB / 417.9 MB, free: 4.699 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.2809, allocations: 1.317 MB / 419.2 MB, free: 3.352 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.2811, allocations: 59.42 kB / 419.2 MB, free: 3.293 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2812, allocations: 0 / 419.2 MB, free: 3.293 MB / 298.7 MB Notification: Performance of Templates: time 0.02482/0.306, allocations: 18.6 MB / 437.9 MB, free: 0.6836 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches