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.001613/0.001613, allocations: 84.14 kB / 21.43 MB, free: 288 kB / 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.001452/0.001452, allocations: 164 kB / 24.7 MB, free: 3.543 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.346/1.346, allocations: 158.6 MB / 186.5 MB, free: 6.398 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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.383e-05, allocations: 2.281 kB / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005868/0.005902, allocations: 3.4 MB / 302.3 MB, free: 5.309 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.008008, allocations: 0.9823 MB / 303.3 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/0.008247, allocations: 23.81 kB / 303.4 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000393/0.00864, allocations: 162.8 kB / 303.5 MB, free: 4.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008994/0.009539, allocations: 290.1 kB / 303.8 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.009858, allocations: 143.8 kB / 303.9 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.0114, allocations: 1.462 MB / 305.4 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007734/0.01217, allocations: 0.5717 MB / 306 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.01321, allocations: 0.9122 MB / 306.9 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.0144, allocations: 0.7053 MB / 307.6 MB, free: 12 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002633/0.01466, allocations: 156 kB / 307.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.01495, allocations: 156 kB / 307.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005215/0.01547, allocations: 482.6 kB / 308.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006366/0.01611, allocations: 0.5028 MB / 308.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.01825, allocations: 2.072 MB / 310.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.01825, allocations: 0 / 310.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01825, allocations: 0 / 310.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.01827, allocations: 3.938 kB / 310.9 MB, free: 12.65 MB / 302.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.003122/0.0214, allocations: 1.603 MB / 312.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.02145, allocations: 23.97 kB / 312.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.0217, allocations: 148 kB / 312.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.02298, allocations: 0.761 MB / 313.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.8e-05/0.02305, allocations: 82.59 kB / 313.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.02323, allocations: 108.4 kB / 313.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/0.02588, allocations: 1.695 MB / 315.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.02591, allocations: 0 / 315.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.02603, allocations: 52 kB / 315.4 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.02606, allocations: 24 kB / 315.4 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.02827, allocations: 1.312 MB / 316.7 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006393/0.03466, allocations: 3.632 MB / 320.4 MB, free: 2.957 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009648/0.03563, allocations: 0.6091 MB / 321 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007047/0.03633, allocations: 434.7 kB / 321.4 MB, free: 1.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.03636, allocations: 4.5 kB / 321.4 MB, free: 1.902 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.03641, allocations: 39.06 kB / 321.4 MB, free: 1.855 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.746e-06/0.03641, allocations: 0 / 321.4 MB, free: 1.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.1869/0.2233, allocations: 1.875 MB / 323.3 MB, free: 33.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.2234, allocations: 57.34 kB / 323.4 MB, free: 33.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.2247, allocations: 0.7918 MB / 324.2 MB, free: 33.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.2248, allocations: 36.23 kB / 324.2 MB, free: 33.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.2251, allocations: 0.5555 MB / 324.8 MB, free: 33.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.2253, allocations: 185.3 kB / 324.9 MB, free: 32.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.2254, allocations: 103.7 kB / 325 MB, free: 32.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2256, allocations: 385.8 kB / 325.4 MB, free: 32.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/0.2261, allocations: 301.3 kB / 325.7 MB, free: 32.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005355/0.2266, allocations: 403.5 kB / 326.1 MB, free: 32.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.2276, allocations: 0.6986 MB / 326.8 MB, free: 31.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2276, allocations: 4.906 kB / 326.8 MB, free: 31.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001524/0.2292, allocations: 0.9114 MB / 327.7 MB, free: 31.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.2292, allocations: 14.78 kB / 327.7 MB, free: 31.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2292, allocations: 1.531 kB / 327.7 MB, free: 31.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/0.2295, allocations: 108.6 kB / 327.8 MB, free: 31.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.23, allocations: 128.2 kB / 328 MB, free: 31.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.2319, allocations: 2.207 MB / 330.2 MB, free: 29.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.2324, allocations: 29.3 kB / 330.2 MB, free: 29.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.2324, allocations: 27.44 kB / 330.2 MB, free: 29.83 MB / 302.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.0006879/0.2331, allocations: 452.4 kB / 330.7 MB, free: 29.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.2332, allocations: 80.05 kB / 330.8 MB, free: 29.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.2333, allocations: 91.58 kB / 330.8 MB, free: 29.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2334, allocations: 5.719 kB / 330.8 MB, free: 29.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.2334, allocations: 3.594 kB / 330.9 MB, free: 29.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.2334, allocations: 4.562 kB / 330.9 MB, free: 29.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.2362, allocations: 1.741 MB / 332.6 MB, free: 28.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2362, allocations: 5.672 kB / 332.6 MB, free: 28.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.2366, allocations: 89.92 kB / 332.7 MB, free: 28.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.2368, allocations: 109.1 kB / 332.8 MB, free: 28.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.2368, allocations: 16 kB / 332.8 MB, free: 28.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.2387, allocations: 2.169 MB / 335 MB, free: 26.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.2387, allocations: 2.469 kB / 335 MB, free: 26.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.2405, allocations: 1.195 MB / 336.2 MB, free: 26.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.2407, allocations: 94.3 kB / 336.3 MB, free: 26.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.784e-05/0.2408, allocations: 15.28 kB / 336.3 MB, free: 26.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/0.2412, allocations: 47.97 kB / 336.3 MB, free: 26.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.2414, allocations: 48.67 kB / 336.4 MB, free: 26.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.2414, allocations: 15.83 kB / 336.4 MB, free: 26.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009434/0.2423, allocations: 0.5656 MB / 337 MB, free: 26.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2423, allocations: 0 / 337 MB, free: 26.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009266/0.2433, allocations: 210.7 kB / 337.2 MB, free: 26.08 MB / 302.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.0001675/0.2434, allocations: 111.9 kB / 337.3 MB, free: 25.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.2448, allocations: 0.8056 MB / 338.1 MB, free: 25.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2448, allocations: 1.25 kB / 338.1 MB, free: 25.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000695/0.2455, allocations: 479.9 kB / 338.6 MB, free: 25.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/0.2464, allocations: 165.6 kB / 338.7 MB, free: 25.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.2498, allocations: 2.181 MB / 340.9 MB, free: 24.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/0.2505, allocations: 0.7375 MB / 341.6 MB, free: 24.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000388/0.2509, allocations: 182.9 kB / 341.8 MB, free: 24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.251, allocations: 52.3 kB / 341.9 MB, free: 23.98 MB / 302.1 MB Notification: Performance of SimCode: time 6.32e-07/0.251, allocations: 7.938 kB / 341.9 MB, free: 23.98 MB / 302.1 MB Notification: Performance of Templates: time 0.0159/0.2669, allocations: 10.24 MB / 352.1 MB, free: 15.35 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/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.605236493051052]