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.0009089/0.0009089, allocations: 80.92 kB / 22.28 MB, free: 2.207 MB / 18.57 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.001009/0.001009, allocations: 167.8 kB / 25.7 MB, free: 8.414 MB / 18.57 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 0.8529/0.8529, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.645e-05, allocations: 6.25 kB / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.007157/0.007173, allocations: 3.694 MB / 255.3 MB, free: 3.516 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00485/0.01202, allocations: 1.04 MB / 256.3 MB, free: 2.465 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.01223, allocations: 27.81 kB / 256.3 MB, free: 2.438 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.01253, allocations: 154.8 kB / 256.5 MB, free: 2.285 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006688/0.0132, allocations: 302.1 kB / 256.8 MB, free: 1.988 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.0158, allocations: 147.7 kB / 256.9 MB, free: 1.844 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.017, allocations: 1.454 MB / 258.4 MB, free: 392 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006567/0.01766, allocations: 0.5952 MB / 259 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008772/0.01853, allocations: 0.9201 MB / 259.9 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000776/0.01931, allocations: 0.7639 MB / 260.6 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.01946, allocations: 160 kB / 260.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.01961, allocations: 156 kB / 261 MB, free: 13.74 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.01986, allocations: 478.7 kB / 261.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003522/0.02022, allocations: 0.5184 MB / 261.9 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009985/0.02121, allocations: 1.231 MB / 263.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.02122, allocations: 0 / 263.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02122, allocations: 0 / 263.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.02123, allocations: 4 kB / 263.2 MB, free: 11.52 MB / 250.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.001382/0.02262, allocations: 1.484 MB / 264.7 MB, free: 10 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.02265, allocations: 11.98 kB / 264.7 MB, free: 9.988 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.02283, allocations: 188.8 kB / 264.9 MB, free: 9.805 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.02334, allocations: 476.8 kB / 265.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.02338, allocations: 82.59 kB / 265.4 MB, free: 9.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.02348, allocations: 116.4 kB / 265.5 MB, free: 9.117 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007914/0.02427, allocations: 0.9187 MB / 266.4 MB, free: 8.113 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.02429, allocations: 0 / 266.4 MB, free: 8.113 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.987e-05/0.02435, allocations: 44 kB / 266.5 MB, free: 8.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.02437, allocations: 28 kB / 266.5 MB, free: 8.043 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.02474, allocations: 247.1 kB / 266.7 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.02728, allocations: 2.452 MB / 269.2 MB, free: 5.234 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.02755, allocations: 284.4 kB / 269.5 MB, free: 4.949 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.02778, allocations: 146.8 kB / 269.6 MB, free: 4.801 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.0278, allocations: 12.44 kB / 269.6 MB, free: 4.789 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.02783, allocations: 47.05 kB / 269.7 MB, free: 4.734 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.513e-06/0.02783, allocations: 0 / 269.7 MB, free: 4.734 MB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.001022/0.02885, allocations: 0.7509 MB / 270.4 MB, free: 3.945 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.02889, allocations: 59.91 kB / 270.5 MB, free: 3.875 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.02925, allocations: 0.5078 MB / 271 MB, free: 3.355 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.02928, allocations: 41.64 kB / 271 MB, free: 3.309 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.02947, allocations: 485 kB / 271.5 MB, free: 2.828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.61e-05/0.02955, allocations: 190.3 kB / 271.7 MB, free: 2.641 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.02966, allocations: 98.25 kB / 271.8 MB, free: 2.539 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.02976, allocations: 378.6 kB / 272.2 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.02984, allocations: 57.22 kB / 272.2 MB, free: 2.105 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.02996, allocations: 148.4 kB / 272.4 MB, free: 1.926 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.03021, allocations: 242 kB / 272.6 MB, free: 1.656 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.03021, allocations: 0 / 272.6 MB, free: 1.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0003997/0.03061, allocations: 343 kB / 272.9 MB, free: 1.309 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.03063, allocations: 11.98 kB / 272.9 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.03063, allocations: 0 / 272.9 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/0.0308, allocations: 60.98 kB / 273 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.03114, allocations: 139.8 kB / 273.1 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.03219, allocations: 1.611 MB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.03235, allocations: 19.98 kB / 274.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.03237, allocations: 16 kB / 274.8 MB, free: 15.36 MB / 266.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.000158/0.03253, allocations: 140.5 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.0326, allocations: 63.88 kB / 275 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.734e-05/0.03267, allocations: 82.81 kB / 275.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.03267, allocations: 8 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.03268, allocations: 4.031 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.03268, allocations: 0 / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.03384, allocations: 1.139 MB / 276.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.03385, allocations: 4.062 kB / 276.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.03408, allocations: 107.8 kB / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.03422, allocations: 75.67 kB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.03424, allocations: 12 kB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.03532, allocations: 1.687 MB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.03532, allocations: 3.938 kB / 278.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.03578, allocations: 0.5075 MB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.03585, allocations: 63.56 kB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.03589, allocations: 12 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.03606, allocations: 39.97 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.03613, allocations: 44.38 kB / 278.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.03615, allocations: 15.98 kB / 278.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.03633, allocations: 244.6 kB / 279 MB, free: 10.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03633, allocations: 0 / 279 MB, free: 10.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004075/0.03674, allocations: 212 kB / 279.2 MB, free: 10.71 MB / 266.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.0001159/0.03686, allocations: 92.36 kB / 279.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004295/0.03729, allocations: 390 kB / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/0.0373, allocations: 4 kB / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.03755, allocations: 299.9 kB / 280 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.03799, allocations: 174.9 kB / 280.2 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.04006, allocations: 1.834 MB / 282 MB, free: 7.848 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.04027, allocations: 302.8 kB / 282.3 MB, free: 7.531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000166/0.04043, allocations: 85.69 kB / 282.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.04074, allocations: 209.2 kB / 282.6 MB, free: 7.238 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.04074, allocations: 0 / 282.6 MB, free: 7.238 MB / 266.7 MB Notification: Performance of Templates: time 0.01313/0.05388, allocations: 11.01 MB / 293.6 MB, free: 12.29 MB / 282.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.661993771791458]