Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001122, allocations: 113.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 198.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2439, allocations: 50.54 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004601/0.2485, allocations: 3.785 MB / 413.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.2503, allocations: 1.013 MB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.2505, allocations: 27.88 kB / 414.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.2508, allocations: 146.8 kB / 414.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000647/0.2515, allocations: 274.5 kB / 415.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.2518, allocations: 135.8 kB / 415.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.253, allocations: 1.397 MB / 416.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.2542, allocations: 1.189 MB / 417.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007113/0.2549, allocations: 0.6424 MB / 418.5 MB, free: 8.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008306/0.2558, allocations: 0.755 MB / 419.3 MB, free: 8.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.256, allocations: 156 kB / 419.4 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.2563, allocations: 160 kB / 419.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003588/0.2566, allocations: 462.7 kB / 420 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006511/0.2573, allocations: 0.7272 MB / 420.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.2589, allocations: 2.046 MB / 422.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2589, allocations: 0 / 422.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.259, allocations: 4 kB / 422.8 MB, free: 4.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.259, allocations: 0 / 422.8 MB, free: 4.66 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002639/0.2616, allocations: 1.676 MB / 424.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2617, allocations: 12.03 kB / 424.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000458/0.2621, allocations: 163.3 kB / 424.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.2634, allocations: 0.8929 MB / 425.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/0.2634, allocations: 90.28 kB / 425.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.2636, allocations: 104 kB / 425.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.2658, allocations: 1.548 MB / 427.3 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.2659, allocations: 0 / 427.3 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.266, allocations: 44.08 kB / 427.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.266, allocations: 31.98 kB / 427.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.268, allocations: 1.312 MB / 428.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005756/0.2738, allocations: 4.166 MB / 432.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.275, allocations: 1.325 MB / 434.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006801/0.2757, allocations: 454.5 kB / 434.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.2757, allocations: 8.438 kB / 434.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.2757, allocations: 42.94 kB / 434.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.805e-06/0.2758, allocations: 4 kB / 434.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003172/0.2789, allocations: 1.942 MB / 436.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.279, allocations: 59.84 kB / 436.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000995/0.28, allocations: 0.8282 MB / 437.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.28, allocations: 33.7 kB / 437.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.2804, allocations: 0.5453 MB / 438.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.2805, allocations: 177.5 kB / 438.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.2807, allocations: 106.1 kB / 438.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2809, allocations: 382.8 kB / 438.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/0.2813, allocations: 304.9 kB / 439 MB, free: 3.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/0.2818, allocations: 403.3 kB / 439.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009546/0.2828, allocations: 0.7106 MB / 440.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2828, allocations: 4 kB / 440.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00136/0.2842, allocations: 0.9126 MB / 441 MB, free: 1.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2842, allocations: 7.984 kB / 441 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.2842, allocations: 4 kB / 441.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.2845, allocations: 108.7 kB / 441.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.285, allocations: 127.9 kB / 441.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.2872, allocations: 2.36 MB / 443.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.2876, allocations: 27.92 kB / 443.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.2877, allocations: 23.98 kB / 443.7 MB, free: 14.96 MB / 366.1 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.0006455/0.2883, allocations: 449.5 kB / 444.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.2884, allocations: 87.12 kB / 444.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.2886, allocations: 91.06 kB / 444.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2886, allocations: 11.94 kB / 444.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.2886, allocations: 0 / 444.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2886, allocations: 3.938 kB / 444.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.2915, allocations: 2.009 MB / 446.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2916, allocations: 0 / 446.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.2919, allocations: 91.83 kB / 446.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000223/0.2921, allocations: 104.7 kB / 446.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.2922, allocations: 11.98 kB / 446.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.2942, allocations: 2.33 MB / 448.9 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2943, allocations: 0 / 448.9 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.2959, allocations: 1.204 MB / 450.1 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.2961, allocations: 160.2 kB / 450.2 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/0.2962, allocations: 15.94 kB / 450.2 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.2966, allocations: 48.02 kB / 450.3 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.2967, allocations: 44.31 kB / 450.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.2967, allocations: 16 kB / 450.3 MB, free: 8.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007047/0.2974, allocations: 0.5927 MB / 450.9 MB, free: 7.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2974, allocations: 0 / 450.9 MB, free: 7.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007287/0.2982, allocations: 208 kB / 451.1 MB, free: 7.227 MB / 366.1 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.0001688/0.2983, allocations: 115.2 kB / 451.3 MB, free: 7.102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.2996, allocations: 0.8244 MB / 452.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.2996, allocations: 8.188 kB / 452.1 MB, free: 6.262 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006888/0.3003, allocations: 496.7 kB / 452.6 MB, free: 5.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/0.3012, allocations: 175.3 kB / 452.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.3043, allocations: 2.197 MB / 454.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009725/0.3053, allocations: 1.321 MB / 456.3 MB, free: 1.992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.3055, allocations: 51.44 kB / 456.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3055, allocations: 0 / 456.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of Templates: time 0.02173/0.3272, allocations: 18.99 MB / 475.3 MB, free: 14.99 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches