Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.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.00129/0.00129, allocations: 112.2 kB / 21.19 MB, free: 0.7539 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.001397/0.001397, allocations: 213.7 kB / 24.49 MB, free: 4.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 59.91 kB / 379 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2411, allocations: 53.36 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005533/0.2466, allocations: 3.817 MB / 436.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.2488, allocations: 1.028 MB / 437.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.2491, allocations: 31.75 kB / 437.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.2495, allocations: 154.8 kB / 437.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008724/0.2504, allocations: 290.4 kB / 437.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.2507, allocations: 147.7 kB / 437.8 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001551/0.2522, allocations: 1.405 MB / 439.2 MB, free: 20 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009154/0.2531, allocations: 0.6314 MB / 439.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008555/0.254, allocations: 0.6503 MB / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.255, allocations: 0.7744 MB / 441.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.2552, allocations: 156 kB / 441.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.2555, allocations: 160 kB / 441.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004212/0.2559, allocations: 466.7 kB / 442.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007803/0.2567, allocations: 0.735 MB / 442.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.2588, allocations: 2.053 MB / 444.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2588, allocations: 0 / 444.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2589, allocations: 0 / 444.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.265e-05/0.2589, allocations: 0 / 444.9 MB, free: 10.36 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.00322/0.2621, allocations: 1.63 MB / 446.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2621, allocations: 8.031 kB / 446.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005062/0.2627, allocations: 172 kB / 446.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.2643, allocations: 0.8551 MB / 447.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.316e-05/0.2643, allocations: 90.34 kB / 447.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.2645, allocations: 104 kB / 447.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.2669, allocations: 1.544 MB / 449.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.267, allocations: 0 / 449.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.2671, allocations: 44 kB / 449.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.2671, allocations: 28 kB / 449.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.2692, allocations: 1.316 MB / 450.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/0.2758, allocations: 4.125 MB / 454.8 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009511/0.2768, allocations: 0.6139 MB / 455.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006948/0.2775, allocations: 434.5 kB / 455.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.2775, allocations: 4.438 kB / 455.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.2776, allocations: 42.94 kB / 455.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.665e-06/0.2776, allocations: 4 kB / 455.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003278/0.2808, allocations: 1.881 MB / 457.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.2809, allocations: 55.84 kB / 457.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.2819, allocations: 0.8282 MB / 458.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.282, allocations: 37.7 kB / 458.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.2824, allocations: 0.5584 MB / 459.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.2825, allocations: 182.4 kB / 459.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.2827, allocations: 106.3 kB / 459.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.2829, allocations: 386.8 kB / 459.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.2834, allocations: 305.1 kB / 460.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.2839, allocations: 408.1 kB / 460.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009834/0.2849, allocations: 0.7057 MB / 461.3 MB, free: 9.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.2849, allocations: 4 kB / 461.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001405/0.2863, allocations: 0.9114 MB / 462.2 MB, free: 8.594 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2863, allocations: 4 kB / 462.2 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2863, allocations: 4 kB / 462.2 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/0.2866, allocations: 113 kB / 462.3 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.2871, allocations: 123.8 kB / 462.4 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.2895, allocations: 2.253 MB / 464.7 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.2899, allocations: 31.91 kB / 464.7 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.2899, allocations: 16 kB / 464.7 MB, free: 5.941 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.0006298/0.2905, allocations: 461.5 kB / 465.2 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.2906, allocations: 79.47 kB / 465.3 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.2908, allocations: 95.06 kB / 465.3 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2908, allocations: 4 kB / 465.3 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.2908, allocations: 4 kB / 465.4 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.2908, allocations: 7.922 kB / 465.4 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00332/0.2941, allocations: 1.981 MB / 467.3 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2941, allocations: 4.188 kB / 467.3 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.2945, allocations: 91.81 kB / 467.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002239/0.2947, allocations: 104.7 kB / 467.5 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.2947, allocations: 16.16 kB / 467.6 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.297, allocations: 2.226 MB / 469.8 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.297, allocations: 0 / 469.8 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.2988, allocations: 1.201 MB / 471 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.299, allocations: 87.55 kB / 471.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.658e-05/0.2991, allocations: 15.98 kB / 471.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.2995, allocations: 52.02 kB / 471.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.2996, allocations: 44.3 kB / 471.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.2996, allocations: 12 kB / 471.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007924/0.3004, allocations: 0.5927 MB / 471.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3004, allocations: 4 kB / 471.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008129/0.3012, allocations: 219.9 kB / 472 MB, free: 14.43 MB / 382.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.0001568/0.3014, allocations: 113.2 kB / 472.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.3028, allocations: 0.8004 MB / 472.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3028, allocations: 0 / 472.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007821/0.3036, allocations: 480.8 kB / 473.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008422/0.3044, allocations: 183.6 kB / 473.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.3082, allocations: 2.246 MB / 475.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.3092, allocations: 1.32 MB / 477.1 MB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.3094, allocations: 55.44 kB / 477.2 MB, free: 9.133 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3094, allocations: 0 / 477.2 MB, free: 9.133 MB / 382.1 MB Notification: Performance of Templates: time 0.02577/0.3351, allocations: 19.06 MB / 496.2 MB, free: 6.125 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.076757171889767]