Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 109 kB / 21.93 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 213.5 kB / 25.22 MB, free: 3.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 207.7 MB / 236.1 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 62.52 kB / 348.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2637, allocations: 49.15 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.00457/0.2683, allocations: 3.397 MB / 401 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.2701, allocations: 0.9806 MB / 402 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.2704, allocations: 24.22 kB / 402 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.2707, allocations: 159.1 kB / 402.2 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000823/0.2715, allocations: 296.3 kB / 402.4 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.2718, allocations: 128 kB / 402.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.273, allocations: 1.414 MB / 404 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007148/0.2738, allocations: 0.5782 MB / 404.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007284/0.2745, allocations: 0.6383 MB / 405.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.2756, allocations: 0.7821 MB / 406 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002279/0.2758, allocations: 156.5 kB / 406.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.2761, allocations: 155.9 kB / 406.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004313/0.2766, allocations: 461 kB / 406.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00061/0.2772, allocations: 0.5974 MB / 407.3 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.2791, allocations: 2.047 MB / 409.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2791, allocations: 0 / 409.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.2791, allocations: 0 / 409.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.913e-05/0.2791, allocations: 5.281 kB / 409.4 MB, free: 2.91 MB / 318.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.002944/0.2821, allocations: 1.613 MB / 411 MB, free: 1.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2821, allocations: 13.86 kB / 411 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.2824, allocations: 146.8 kB / 411.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.2838, allocations: 0.7755 MB / 411.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.094e-05/0.2839, allocations: 86.81 kB / 412 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.284, allocations: 107.6 kB / 412.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.2864, allocations: 1.69 MB / 413.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.2864, allocations: 1.344 kB / 413.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.2865, allocations: 45.19 kB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.2865, allocations: 27.53 kB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.2888, allocations: 1.311 MB / 415.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007688/0.2965, allocations: 3.633 MB / 418.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.2975, allocations: 0.6099 MB / 419.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007314/0.2983, allocations: 426.7 kB / 419.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.2983, allocations: 8.75 kB / 419.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.2983, allocations: 43.17 kB / 419.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 3.507e-06/0.2984, allocations: 0 / 419.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003857/0.3022, allocations: 1.878 MB / 421.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.3023, allocations: 55.84 kB / 421.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.3035, allocations: 0.793 MB / 422.6 MB, free: 9.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.3035, allocations: 33.7 kB / 422.7 MB, free: 9.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004492/0.304, allocations: 0.5583 MB / 423.2 MB, free: 9.156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.3041, allocations: 190.4 kB / 423.4 MB, free: 8.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.3043, allocations: 98.34 kB / 423.5 MB, free: 8.867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002792/0.3046, allocations: 382.7 kB / 423.9 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/0.3051, allocations: 313 kB / 424.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/0.3057, allocations: 400.2 kB / 424.6 MB, free: 7.754 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.3068, allocations: 0.6979 MB / 425.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3068, allocations: 3.938 kB / 425.3 MB, free: 7.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001535/0.3083, allocations: 0.9152 MB / 426.2 MB, free: 6.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3084, allocations: 4 kB / 426.2 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3084, allocations: 4 kB / 426.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000347/0.3087, allocations: 113 kB / 426.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.3093, allocations: 119.9 kB / 426.4 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.3119, allocations: 2.223 MB / 428.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/0.3124, allocations: 28.02 kB / 428.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.3124, allocations: 19.98 kB / 428.7 MB, free: 3.477 MB / 334.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.0007362/0.3131, allocations: 465.3 kB / 429.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.3133, allocations: 75.53 kB / 429.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.3134, allocations: 86.83 kB / 429.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3134, allocations: 4 kB / 429.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3134, allocations: 4.062 kB / 429.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3134, allocations: 11.97 kB / 429.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.3167, allocations: 1.739 MB / 431.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3167, allocations: 0 / 431.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.3171, allocations: 91.88 kB / 431.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002508/0.3174, allocations: 105.1 kB / 431.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.3174, allocations: 19.92 kB / 431.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.3198, allocations: 2.172 MB / 433.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.3198, allocations: 4.031 kB / 433.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.3217, allocations: 1.197 MB / 434.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.322, allocations: 91.55 kB / 434.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.778e-05/0.3221, allocations: 15.98 kB / 434.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.3225, allocations: 48.02 kB / 434.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3226, allocations: 44.3 kB / 434.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.3226, allocations: 16 kB / 434.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008305/0.3235, allocations: 0.5654 MB / 435.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3235, allocations: 0 / 435.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008392/0.3243, allocations: 211.9 kB / 435.6 MB, free: 12.34 MB / 350.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.0001612/0.3245, allocations: 119.1 kB / 435.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.3259, allocations: 0.7964 MB / 436.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3259, allocations: 0 / 436.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007791/0.3267, allocations: 473.8 kB / 437 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009211/0.3276, allocations: 166.9 kB / 437.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.3318, allocations: 2.25 MB / 439.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008517/0.3326, allocations: 0.7251 MB / 440.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.3329, allocations: 47.44 kB / 440.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3329, allocations: 4 kB / 440.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of Templates: time 0.02747/0.3604, allocations: 19.15 MB / 459.3 MB, free: 4.449 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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: 8.501770186703652]