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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001921/0.001921, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002097/0.002097, allocations: 207.8 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.708/1.708, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.91 kB / 378.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2738, allocations: 53.4 MB / 431.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005265/0.279, allocations: 3.483 MB / 435.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.2811, allocations: 0.997 MB / 436.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.2814, allocations: 27.81 kB / 436.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.2817, allocations: 154.8 kB / 436.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007682/0.2825, allocations: 310.3 kB / 436.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.2827, allocations: 123.9 kB / 436.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.2841, allocations: 1.412 MB / 438.1 MB, free: 16 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008393/0.285, allocations: 0.6194 MB / 438.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008109/0.2858, allocations: 0.6542 MB / 439.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.2868, allocations: 0.7901 MB / 440.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.287, allocations: 156 kB / 440.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.2873, allocations: 164 kB / 440.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004248/0.2878, allocations: 470.7 kB / 441 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006529/0.2884, allocations: 0.599 MB / 441.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.2904, allocations: 2.066 MB / 443.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2904, allocations: 0 / 443.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2904, allocations: 4 kB / 443.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.437e-05/0.2904, allocations: 0 / 443.6 MB, free: 10.46 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.002961/0.2934, allocations: 1.638 MB / 445.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.2934, allocations: 15.98 kB / 445.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004756/0.2939, allocations: 176 kB / 445.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.2957, allocations: 0.8435 MB / 446.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.71e-05/0.2958, allocations: 86.34 kB / 446.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.2959, allocations: 108 kB / 446.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/0.2985, allocations: 1.715 MB / 448.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.2985, allocations: 3.938 kB / 448.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.814e-05/0.2986, allocations: 44 kB / 448.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.194e-05/0.2987, allocations: 46.2 kB / 448.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.301, allocations: 1.324 MB / 449.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006117/0.3071, allocations: 3.56 MB / 453.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008911/0.308, allocations: 0.5779 MB / 453.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006739/0.3086, allocations: 414 kB / 454.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.3087, allocations: 16.3 kB / 454.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.3087, allocations: 38.94 kB / 454.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.034e-06/0.3087, allocations: 0 / 454.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.003167/0.3119, allocations: 1.805 MB / 456 MB, free: 13.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.3119, allocations: 55.84 kB / 456.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.3129, allocations: 0.8008 MB / 456.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.313, allocations: 29.7 kB / 456.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/0.3134, allocations: 0.5778 MB / 457.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.3135, allocations: 166.5 kB / 457.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.3137, allocations: 102.3 kB / 457.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.3139, allocations: 382.8 kB / 458.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/0.3144, allocations: 305.1 kB / 458.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/0.315, allocations: 401 kB / 458.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.316, allocations: 0.6841 MB / 459.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.316, allocations: 0 / 459.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00143/0.3174, allocations: 0.8982 MB / 460.4 MB, free: 9.238 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.3174, allocations: 11.94 kB / 460.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3174, allocations: 0 / 460.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000289/0.3177, allocations: 117 kB / 460.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.3182, allocations: 111.9 kB / 460.6 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.3206, allocations: 2.211 MB / 462.8 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.3209, allocations: 32.03 kB / 462.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.321, allocations: 16 kB / 462.9 MB, free: 6.645 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * 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.0006667/0.3217, allocations: 461.4 kB / 463.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.3218, allocations: 71.58 kB / 463.4 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.3219, allocations: 91.02 kB / 463.5 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3219, allocations: 8 kB / 463.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3219, allocations: 0 / 463.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.3219, allocations: 3.984 kB / 463.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/0.3249, allocations: 1.653 MB / 465.2 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.3249, allocations: 4 kB / 465.2 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.3252, allocations: 83.88 kB / 465.2 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000237/0.3255, allocations: 96.78 kB / 465.3 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.3255, allocations: 12 kB / 465.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/0.3278, allocations: 2.18 MB / 467.5 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3278, allocations: 0 / 467.5 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.3295, allocations: 1.149 MB / 468.7 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.3297, allocations: 87.81 kB / 468.8 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-05/0.3298, allocations: 15.94 kB / 468.8 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.3302, allocations: 43.95 kB / 468.8 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3303, allocations: 47.8 kB / 468.9 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.3303, allocations: 16.06 kB / 468.9 MB, free: 456 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008017/0.3311, allocations: 0.5731 MB / 469.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3311, allocations: 0 / 469.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007565/0.3319, allocations: 212 kB / 469.7 MB, free: 15.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * 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.0001498/0.3321, allocations: 107.2 kB / 469.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.3334, allocations: 0.777 MB / 470.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.3334, allocations: 4 kB / 470.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007223/0.3341, allocations: 454.2 kB / 471 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008076/0.3349, allocations: 155.5 kB / 471.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.3385, allocations: 2.216 MB / 473.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008577/0.3393, allocations: 0.7449 MB / 474.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005124/0.3398, allocations: 181.4 kB / 474.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.34, allocations: 47.44 kB / 474.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.34, allocations: 0 / 474.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of Templates: time 0.02055/0.3605, allocations: 11.53 MB / 485.9 MB, free: 15.53 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.974633494392037]