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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000967/0.0009671, allocations: 94.83 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008899/0.0008899, allocations: 48.11 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.206, allocations: 50.46 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004042/0.2101, allocations: 3.789 MB / 410.8 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.2118, allocations: 0.9872 MB / 411.8 MB, free: 23.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.2121, allocations: 23.88 kB / 411.8 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.2124, allocations: 115.2 kB / 412 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005977/0.213, allocations: 277 kB / 412.2 MB, free: 22.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.2132, allocations: 107.9 kB / 412.3 MB, free: 22.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.2143, allocations: 1.658 MB / 414 MB, free: 20.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007829/0.2151, allocations: 0.9993 MB / 415 MB, free: 19.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000477/0.2156, allocations: 0.5371 MB / 415.5 MB, free: 19.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000575/0.2162, allocations: 0.7276 MB / 416.3 MB, free: 18.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.2163, allocations: 100 kB / 416.4 MB, free: 18.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.2165, allocations: 104 kB / 416.5 MB, free: 18.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.2167, allocations: 402.7 kB / 416.9 MB, free: 17.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004889/0.2172, allocations: 0.6686 MB / 417.5 MB, free: 17.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.2183, allocations: 1.96 MB / 419.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2183, allocations: 4 kB / 419.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.2183, allocations: 0 / 419.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.2183, allocations: 0 / 419.5 MB, free: 15.32 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.002479/0.2208, allocations: 1.672 MB / 421.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2209, allocations: 8.031 kB / 421.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004612/0.2213, allocations: 163.3 kB / 421.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.2225, allocations: 0.8383 MB / 422.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.2226, allocations: 82.59 kB / 422.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.2227, allocations: 115.9 kB / 422.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.2246, allocations: 1.544 MB / 423.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.2246, allocations: 0 / 423.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-05/0.2247, allocations: 48 kB / 423.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.2247, allocations: 31.94 kB / 424 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.2264, allocations: 1.316 MB / 425.3 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004933/0.2313, allocations: 4.216 MB / 429.5 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007815/0.2321, allocations: 1.307 MB / 430.8 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/0.2326, allocations: 459.4 kB / 431.3 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.2327, allocations: 12.42 kB / 431.3 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.2327, allocations: 39 kB / 431.3 MB, free: 3.016 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 2.094e-06/0.2327, allocations: 0 / 431.3 MB, free: 3.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.002538/0.2352, allocations: 1.942 MB / 433.3 MB, free: 1.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.2353, allocations: 63.83 kB / 433.3 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007306/0.236, allocations: 0.8164 MB / 434.1 MB, free: 120 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2361, allocations: 37.7 kB / 434.2 MB, free: 76 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.2364, allocations: 0.5414 MB / 434.7 MB, free: 15.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.2365, allocations: 181.4 kB / 434.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.2367, allocations: 98.25 kB / 435 MB, free: 15.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.2369, allocations: 386.7 kB / 435.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/0.2373, allocations: 308.9 kB / 435.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/0.2378, allocations: 399.4 kB / 436.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008663/0.2387, allocations: 0.7067 MB / 436.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2387, allocations: 0 / 436.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001222/0.24, allocations: 0.9165 MB / 437.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.24, allocations: 7.984 kB / 437.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.24, allocations: 8 kB / 437.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/0.2403, allocations: 108.7 kB / 437.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.2407, allocations: 124 kB / 437.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.2428, allocations: 2.17 MB / 440.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.2431, allocations: 23.98 kB / 440.1 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.2431, allocations: 16 kB / 440.1 MB, free: 9.867 MB / 314.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.0005199/0.2437, allocations: 469.9 kB / 440.6 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.977e-05/0.2438, allocations: 71.16 kB / 440.7 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.2439, allocations: 91.08 kB / 440.8 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.2439, allocations: 8.062 kB / 440.8 MB, free: 9.223 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.244, allocations: 0 / 440.8 MB, free: 9.223 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.244, allocations: 3.984 kB / 440.8 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/0.2469, allocations: 2.018 MB / 442.8 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.2469, allocations: 4.188 kB / 442.8 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.2472, allocations: 83.88 kB / 442.9 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/0.2474, allocations: 112.8 kB / 443 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.2475, allocations: 20 kB / 443 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.2493, allocations: 2.123 MB / 445.1 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2493, allocations: 0 / 445.1 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008028/0.2574, allocations: 6.911 MB / 452 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.2576, allocations: 160.4 kB / 452.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/0.2577, allocations: 15.94 kB / 452.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.2581, allocations: 52.08 kB / 452.3 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.2582, allocations: 40.31 kB / 452.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.2582, allocations: 20.06 kB / 452.3 MB, free: 13.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006594/0.2589, allocations: 0.5887 MB / 452.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2589, allocations: 0 / 452.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008767/0.2598, allocations: 288 kB / 453.2 MB, free: 12.26 MB / 330.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.0001458/0.2599, allocations: 115.2 kB / 453.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.2611, allocations: 0.8085 MB / 454.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2612, allocations: 0.625 kB / 454.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006766/0.2618, allocations: 0.493 MB / 454.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008253/0.2627, allocations: 168.2 kB / 454.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.2664, allocations: 3.213 MB / 458 MB, free: 7.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008445/0.2672, allocations: 1.358 MB / 459.3 MB, free: 5.969 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004115/0.2676, allocations: 189.8 kB / 459.5 MB, free: 5.781 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.2678, allocations: 51.38 kB / 459.6 MB, free: 5.734 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2678, allocations: 0 / 459.6 MB, free: 5.734 MB / 330.7 MB Notification: Performance of Templates: time 0.0165/0.2843, allocations: 11.08 MB / 470.7 MB, free: 10.76 MB / 346.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches