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.001778/0.001778, allocations: 119.6 kB / 18.41 MB, free: 4.688 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.001859/0.001859, allocations: 192.3 kB / 21.35 MB, free: 1.75 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.416/1.416, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.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.001544/0.001544, allocations: 51.92 kB / 358.7 MB, free: 8.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09101/0.09257, allocations: 49.43 MB / 408.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.00527/0.09787, allocations: 3.766 MB / 411.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.09985, allocations: 0.9464 MB / 412.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000377/0.1002, allocations: 23.88 kB / 412.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.1007, allocations: 150.8 kB / 413 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009006/0.1016, allocations: 270.5 kB / 413.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.1019, allocations: 123.9 kB / 413.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.1034, allocations: 1.393 MB / 414.8 MB, free: 188 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.1048, allocations: 1.185 MB / 415.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007378/0.1056, allocations: 0.6308 MB / 416.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009763/0.1065, allocations: 0.7589 MB / 417.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.1068, allocations: 160 kB / 417.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000261/0.107, allocations: 156 kB / 417.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004203/0.1075, allocations: 458.8 kB / 418.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007583/0.1082, allocations: 0.7272 MB / 418.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.1102, allocations: 2.036 MB / 420.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1102, allocations: 4 kB / 420.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1102, allocations: 0 / 420.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.148e-05/0.1102, allocations: 4 kB / 420.9 MB, free: 10.03 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002946/0.1132, allocations: 1.694 MB / 422.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1132, allocations: 16.03 kB / 422.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.1134, allocations: 148 kB / 422.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.1148, allocations: 0.8701 MB / 423.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.592e-05/0.1149, allocations: 86.34 kB / 423.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.1151, allocations: 112 kB / 423.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.1176, allocations: 1.544 MB / 425.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.1176, allocations: 4 kB / 425.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.1177, allocations: 48 kB / 425.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.1177, allocations: 27.94 kB / 425.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.12, allocations: 1.316 MB / 426.7 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1733/0.2933, allocations: 4.181 MB / 430.9 MB, free: 21.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008912/0.2942, allocations: 1.311 MB / 432.2 MB, free: 20.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005525/0.2948, allocations: 457.5 kB / 432.7 MB, free: 20.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.2948, allocations: 6.625 kB / 432.7 MB, free: 20.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.2949, allocations: 38.62 kB / 432.7 MB, free: 20.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.304e-06/0.2949, allocations: 0.9375 kB / 432.7 MB, free: 20.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.002757/0.2976, allocations: 1.959 MB / 434.7 MB, free: 19.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.2977, allocations: 62.81 kB / 434.7 MB, free: 19.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000853/0.2985, allocations: 0.8164 MB / 435.5 MB, free: 19.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.2986, allocations: 34.27 kB / 435.6 MB, free: 19.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.2989, allocations: 0.5562 MB / 436.1 MB, free: 19.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.299, allocations: 184.3 kB / 436.3 MB, free: 19.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.2992, allocations: 102 kB / 436.4 MB, free: 19.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2993, allocations: 388.1 kB / 436.8 MB, free: 19.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.2998, allocations: 302.8 kB / 437.1 MB, free: 19.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/0.3003, allocations: 413.8 kB / 437.5 MB, free: 18.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008787/0.3012, allocations: 0.6963 MB / 438.2 MB, free: 18.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3012, allocations: 3.625 kB / 438.2 MB, free: 18.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001279/0.3025, allocations: 0.9187 MB / 439.1 MB, free: 18.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3025, allocations: 7.344 kB / 439.1 MB, free: 18.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3025, allocations: 3.156 kB / 439.1 MB, free: 18.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/0.3028, allocations: 110.4 kB / 439.2 MB, free: 18.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.3033, allocations: 131.6 kB / 439.4 MB, free: 18.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.305, allocations: 2.359 MB / 441.7 MB, free: 17.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.3054, allocations: 26.27 kB / 441.7 MB, free: 17.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.3054, allocations: 23.95 kB / 441.8 MB, free: 17.23 MB / 350.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.000547/0.306, allocations: 457.8 kB / 442.2 MB, free: 17.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.891e-05/0.3061, allocations: 77.61 kB / 442.3 MB, free: 17.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.3063, allocations: 88.75 kB / 442.4 MB, free: 17.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.3063, allocations: 8.719 kB / 442.4 MB, free: 17.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.3063, allocations: 2.984 kB / 442.4 MB, free: 17.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3063, allocations: 3.984 kB / 442.4 MB, free: 17.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.309, allocations: 2.01 MB / 444.4 MB, free: 16.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.309, allocations: 8.797 kB / 444.4 MB, free: 16.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.3093, allocations: 86.88 kB / 444.5 MB, free: 16.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002102/0.3095, allocations: 99.98 kB / 444.6 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.3096, allocations: 21.44 kB / 444.6 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.3112, allocations: 2.328 MB / 446.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3112, allocations: 5.625 kB / 446.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.3126, allocations: 1.199 MB / 448.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.3128, allocations: 166.9 kB / 448.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/0.3129, allocations: 15.5 kB / 448.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.3133, allocations: 47.28 kB / 448.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.3134, allocations: 42.09 kB / 448.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.3134, allocations: 18.09 kB / 448.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006607/0.3141, allocations: 0.5901 MB / 449 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3141, allocations: 0 / 449 MB, free: 14.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000699/0.3148, allocations: 208.9 kB / 449.2 MB, free: 14.28 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.0001218/0.315, allocations: 119.5 kB / 449.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.3161, allocations: 0.8213 MB / 450.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3161, allocations: 0 / 450.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006406/0.3168, allocations: 491.3 kB / 450.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000828/0.3176, allocations: 178.9 kB / 450.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.3204, allocations: 2.222 MB / 453 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007294/0.3211, allocations: 1.316 MB / 454.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.3213, allocations: 51.39 kB / 454.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3213, allocations: 1.344 kB / 454.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Templates: time 0.01743/0.3388, allocations: 18.85 MB / 473.3 MB, free: 13.89 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.646794798085466]