Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001064, allocations: 114.8 kB / 17.74 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 188.5 kB / 18.67 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 43.94 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2482, allocations: 49.43 MB / 401.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004908/0.2531, allocations: 3.774 MB / 405.2 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.255, allocations: 0.9892 MB / 406.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.2553, allocations: 19.94 kB / 406.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.2557, allocations: 150.8 kB / 406.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007919/0.2565, allocations: 302.4 kB / 406.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.2567, allocations: 123.8 kB / 406.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.2581, allocations: 1.401 MB / 408.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.2595, allocations: 1.221 MB / 409.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008079/0.2603, allocations: 0.6464 MB / 410 MB, free: 168 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.2614, allocations: 0.7708 MB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.2617, allocations: 156 kB / 410.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.2619, allocations: 160 kB / 411.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003784/0.2623, allocations: 470.7 kB / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007308/0.2631, allocations: 0.735 MB / 412.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.2648, allocations: 2.073 MB / 414.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2648, allocations: 3.938 kB / 414.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2648, allocations: 0 / 414.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.363e-05/0.2649, allocations: 4 kB / 414.4 MB, free: 11.8 MB / 334.1 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.003256/0.2682, allocations: 1.694 MB / 416.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.2682, allocations: 8.031 kB / 416.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/0.2685, allocations: 139.3 kB / 416.2 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.2698, allocations: 0.8851 MB / 417.1 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.399e-05/0.2699, allocations: 90.31 kB / 417.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.27, allocations: 111.9 kB / 417.3 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.2726, allocations: 1.568 MB / 418.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.2727, allocations: 0 / 418.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.2728, allocations: 48 kB / 418.9 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.2728, allocations: 28 kB / 418.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.275, allocations: 1.332 MB / 420.3 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00684/0.2819, allocations: 4.267 MB / 424.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.2831, allocations: 1.345 MB / 425.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008869/0.2841, allocations: 0.5183 MB / 426.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.2841, allocations: 8.438 kB / 426.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.2841, allocations: 43 kB / 426.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.735e-06/0.2841, allocations: 0 / 426.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001488/0.2856, allocations: 0.869 MB / 427.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.2857, allocations: 55.84 kB / 427.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.2868, allocations: 0.8242 MB / 428.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.2869, allocations: 37.7 kB / 428.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.2873, allocations: 0.5492 MB / 428.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.2875, allocations: 177.4 kB / 428.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.2876, allocations: 110.2 kB / 429.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.2878, allocations: 382.8 kB / 429.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.2883, allocations: 300.9 kB / 429.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.2888, allocations: 394.5 kB / 430.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009576/0.2898, allocations: 0.6942 MB / 430.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2898, allocations: 0 / 430.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001299/0.2911, allocations: 0.8258 MB / 431.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.2911, allocations: 8 kB / 431.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2912, allocations: 4 kB / 431.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2912, allocations: 4 kB / 431.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006202/0.2918, allocations: 152.1 kB / 431.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.2918, allocations: 4 kB / 431.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.2922, allocations: 67.34 kB / 431.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.2923, allocations: 23.94 kB / 431.9 MB, free: 9.676 MB / 350.1 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.0005938/0.2929, allocations: 461.4 kB / 432.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.293, allocations: 75.16 kB / 432.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.2932, allocations: 87.08 kB / 432.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.2932, allocations: 4 kB / 432.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.2932, allocations: 4 kB / 432.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.2933, allocations: 11.92 kB / 432.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/0.296, allocations: 1.938 MB / 434.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2961, allocations: 0 / 434.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/0.2966, allocations: 119.9 kB / 434.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.2966, allocations: 4 kB / 434.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.2967, allocations: 8 kB / 434.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.2967, allocations: 8.156 kB / 434.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2967, allocations: 3.984 kB / 434.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.2982, allocations: 1.13 MB / 435.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.2984, allocations: 164.2 kB / 435.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.67e-05/0.2986, allocations: 19.98 kB / 435.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004203/0.299, allocations: 43.95 kB / 435.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/0.2991, allocations: 48.27 kB / 436 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.2991, allocations: 19.98 kB / 436 MB, free: 5.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008094/0.2999, allocations: 0.5849 MB / 436.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3, allocations: 0 / 436.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007236/0.3007, allocations: 286.7 kB / 436.9 MB, free: 4.547 MB / 350.1 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.0001564/0.3008, allocations: 111.2 kB / 437 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.3019, allocations: 0.6536 MB / 437.6 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3019, allocations: 0 / 437.6 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.3023, allocations: 323.1 kB / 438 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009009/0.3032, allocations: 190.8 kB / 438.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.307, allocations: 2.26 MB / 440.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008947/0.3079, allocations: 1.324 MB / 441.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.3082, allocations: 59.44 kB / 441.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3082, allocations: 0 / 441.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of Templates: time 0.01955/0.3277, allocations: 13.37 MB / 455.2 MB, free: 2.23 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches