Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 191.1 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002517/0.002517, allocations: 43.92 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2457, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005033/0.2508, allocations: 3.461 MB / 426.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.2526, allocations: 0.9191 MB / 427.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.2528, allocations: 27.81 kB / 427.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.2531, allocations: 154.8 kB / 427.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008332/0.2539, allocations: 294.4 kB / 427.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.2542, allocations: 127.8 kB / 428 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.2558, allocations: 1.393 MB / 429.4 MB, free: 8.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008559/0.2566, allocations: 0.6193 MB / 430 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007123/0.2573, allocations: 0.6387 MB / 430.7 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.2584, allocations: 0.7862 MB / 431.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002252/0.2586, allocations: 156 kB / 431.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.2589, allocations: 156 kB / 431.8 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004277/0.2593, allocations: 462.7 kB / 432.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006528/0.26, allocations: 0.5991 MB / 432.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.2619, allocations: 2.054 MB / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2619, allocations: 0 / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2619, allocations: 0 / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.2619, allocations: 0 / 434.9 MB, free: 2.59 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.00297/0.2649, allocations: 1.623 MB / 436.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2649, allocations: 8.922 kB / 436.5 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000237/0.2652, allocations: 148 kB / 436.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.2668, allocations: 0.824 MB / 437.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/0.2669, allocations: 90.28 kB / 437.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.2671, allocations: 112 kB / 437.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.2696, allocations: 1.707 MB / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.2697, allocations: 0 / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.2698, allocations: 48 kB / 439.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.2698, allocations: 28 kB / 439.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.272, allocations: 1.308 MB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006362/0.2783, allocations: 3.638 MB / 444.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009787/0.2793, allocations: 0.6112 MB / 445 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007097/0.28, allocations: 434.5 kB / 445.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.2801, allocations: 4.438 kB / 445.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.2801, allocations: 39 kB / 445.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.765e-06/0.2801, allocations: 0 / 445.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003469/0.2836, allocations: 1.881 MB / 447.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.2836, allocations: 55.84 kB / 447.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.2846, allocations: 0.7929 MB / 448.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.2847, allocations: 37.7 kB / 448.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.2851, allocations: 0.5506 MB / 448.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.2853, allocations: 186.4 kB / 449 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.2854, allocations: 110.3 kB / 449.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.2857, allocations: 386.7 kB / 449.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004873/0.2861, allocations: 305.1 kB / 449.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/0.2867, allocations: 400.2 kB / 450.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.2877, allocations: 0.7018 MB / 450.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2877, allocations: 3.984 kB / 450.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001514/0.2892, allocations: 0.9114 MB / 451.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.2893, allocations: 4 kB / 451.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.2893, allocations: 4 kB / 451.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003322/0.2896, allocations: 112.7 kB / 451.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/0.2902, allocations: 128 kB / 452 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.2926, allocations: 2.207 MB / 454.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.293, allocations: 31.95 kB / 454.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.293, allocations: 16 kB / 454.3 MB, free: 14.63 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.0007293/0.2938, allocations: 465.5 kB / 454.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.2939, allocations: 75.53 kB / 454.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.294, allocations: 94.81 kB / 454.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.294, allocations: 4 kB / 454.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.2941, allocations: 4 kB / 454.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.2941, allocations: 0 / 454.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.2972, allocations: 1.739 MB / 456.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.2972, allocations: 8.156 kB / 456.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.2975, allocations: 83.89 kB / 456.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000247/0.2978, allocations: 104.7 kB / 456.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.2978, allocations: 19.98 kB / 456.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.3, allocations: 2.172 MB / 459 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3, allocations: 4.219 kB / 459 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.3018, allocations: 1.193 MB / 460.2 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.302, allocations: 91.67 kB / 460.3 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.961e-05/0.3021, allocations: 19.92 kB / 460.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.3025, allocations: 51.89 kB / 460.4 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.3026, allocations: 36.42 kB / 460.4 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.3026, allocations: 20 kB / 460.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007485/0.3034, allocations: 0.5654 MB / 461 MB, free: 7.691 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3034, allocations: 0 / 461 MB, free: 7.691 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007531/0.3041, allocations: 216 kB / 461.2 MB, free: 7.48 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.0001494/0.3043, allocations: 119.1 kB / 461.3 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.3057, allocations: 0.8045 MB / 462.1 MB, free: 6.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.3057, allocations: 4 kB / 462.1 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007223/0.3064, allocations: 476.8 kB / 462.6 MB, free: 6.055 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008048/0.3072, allocations: 163.4 kB / 462.8 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.3108, allocations: 2.237 MB / 465 MB, free: 3.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008206/0.3116, allocations: 0.7407 MB / 465.7 MB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004336/0.312, allocations: 181.5 kB / 465.9 MB, free: 2.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3122, allocations: 51.42 kB / 466 MB, free: 2.602 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3122, allocations: 0 / 466 MB, free: 2.602 MB / 366.1 MB Notification: Performance of Templates: time 0.02101/0.3332, allocations: 11.65 MB / 477.6 MB, free: 7.141 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.750569641590118]