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.001319/0.001319, allocations: 82.92 kB / 22 MB, free: 5.18 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.001361/0.001361, allocations: 161.4 kB / 25.25 MB, free: 3.023 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.332/1.332, allocations: 158.6 MB / 187 MB, free: 6.238 MB / 174.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.001781/0.001781, allocations: 59.92 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2089, allocations: 49.15 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005394/0.2143, allocations: 3.391 MB / 351.9 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.2165, allocations: 0.9899 MB / 352.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.2167, allocations: 23.81 kB / 352.9 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.2171, allocations: 150.8 kB / 353.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008461/0.2179, allocations: 302.4 kB / 353.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.2182, allocations: 127.8 kB / 353.5 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.2198, allocations: 1.416 MB / 354.9 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000815/0.2206, allocations: 0.5716 MB / 355.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007249/0.2213, allocations: 0.6386 MB / 356.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.2224, allocations: 0.7784 MB / 356.9 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.2227, allocations: 159.9 kB / 357 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.223, allocations: 156 kB / 357.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004769/0.2234, allocations: 458.7 kB / 357.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007084/0.2241, allocations: 0.6068 MB / 358.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.2262, allocations: 2.042 MB / 360.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2262, allocations: 0 / 360.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2262, allocations: 7.938 kB / 360.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.2262, allocations: 0 / 360.3 MB, free: 3.645 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.002974/0.2292, allocations: 1.611 MB / 361.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2292, allocations: 15.98 kB / 361.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002601/0.2295, allocations: 144 kB / 362.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.2308, allocations: 0.7773 MB / 362.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.448e-05/0.2309, allocations: 86.34 kB / 362.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.2311, allocations: 108 kB / 363 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/0.2337, allocations: 1.691 MB / 364.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.2338, allocations: 3.938 kB / 364.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.2339, allocations: 44 kB / 364.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.2339, allocations: 24 kB / 364.8 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.2361, allocations: 1.312 MB / 366.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006346/0.2425, allocations: 3.636 MB / 369.7 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009747/0.2435, allocations: 0.607 MB / 370.4 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007351/0.2442, allocations: 430.7 kB / 370.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.2442, allocations: 4.5 kB / 370.8 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.2443, allocations: 47.05 kB / 370.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.054e-06/0.2443, allocations: 0 / 370.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003343/0.2476, allocations: 1.877 MB / 372.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.2477, allocations: 59.91 kB / 372.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.2487, allocations: 0.789 MB / 373.5 MB, free: 6.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.2488, allocations: 37.7 kB / 373.6 MB, free: 6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/0.2492, allocations: 0.5583 MB / 374.1 MB, free: 5.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.2494, allocations: 186.4 kB / 374.3 MB, free: 5.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.2496, allocations: 98.34 kB / 374.4 MB, free: 5.148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.2498, allocations: 386.7 kB / 374.8 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/0.2503, allocations: 313 kB / 375.1 MB, free: 4.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.2509, allocations: 396.3 kB / 375.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.252, allocations: 0.6982 MB / 376.2 MB, free: 3.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.252, allocations: 0 / 376.2 MB, free: 3.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00151/0.2535, allocations: 0.9192 MB / 377.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2535, allocations: 4 kB / 377.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.2535, allocations: 4 kB / 377.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.2538, allocations: 113 kB / 377.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.2543, allocations: 119.9 kB / 377.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.2569, allocations: 2.219 MB / 379.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.2573, allocations: 27.98 kB / 379.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.2573, allocations: 23.98 kB / 379.6 MB, free: 15.76 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.0006871/0.258, allocations: 457.3 kB / 380.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.2581, allocations: 75.53 kB / 380.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.2583, allocations: 90.83 kB / 380.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2583, allocations: 4 kB / 380.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2583, allocations: 0 / 380.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.2583, allocations: 3.984 kB / 380.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.2615, allocations: 1.753 MB / 382 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2615, allocations: 3.938 kB / 382 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.2619, allocations: 91.88 kB / 382.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002474/0.2622, allocations: 104.8 kB / 382.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/0.2622, allocations: 20.14 kB / 382.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/0.2646, allocations: 2.176 MB / 384.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2646, allocations: 0 / 384.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.2664, allocations: 1.207 MB / 385.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.2666, allocations: 83.55 kB / 385.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.07e-05/0.2666, allocations: 19.98 kB / 385.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.2671, allocations: 48.02 kB / 385.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.2672, allocations: 40.42 kB / 385.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.2672, allocations: 19.94 kB / 385.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007492/0.2679, allocations: 0.5654 MB / 386.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2679, allocations: 0 / 386.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000804/0.2688, allocations: 208 kB / 386.6 MB, free: 8.609 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.0001443/0.2689, allocations: 119.1 kB / 386.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.2703, allocations: 0.8012 MB / 387.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2703, allocations: 0 / 387.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007902/0.2711, allocations: 478.1 kB / 387.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008493/0.2719, allocations: 162.9 kB / 388.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.2755, allocations: 2.237 MB / 390.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008767/0.2764, allocations: 0.7445 MB / 391.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004291/0.2768, allocations: 189.5 kB / 391.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.2769, allocations: 48.5 kB / 391.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2769, allocations: 0 / 391.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of Templates: time 0.0197/0.2966, allocations: 10.32 MB / 401.6 MB, free: 9.398 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 -s ida -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: 4.562464414979331]