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.001798/0.001798, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.002107/0.002107, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.41/1.41, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.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.001547/0.001547, allocations: 47.92 kB / 371.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.247, allocations: 52.19 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005558/0.2525, allocations: 3.811 MB / 427.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.2546, allocations: 0.9619 MB / 428.6 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.2548, allocations: 27.81 kB / 428.7 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003778/0.2552, allocations: 154.8 kB / 428.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007939/0.256, allocations: 294.4 kB / 429.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.2563, allocations: 119.8 kB / 429.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0019/0.2582, allocations: 1.397 MB / 430.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009082/0.2591, allocations: 0.6236 MB / 431.3 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008662/0.2599, allocations: 0.6464 MB / 431.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.2611, allocations: 0.7745 MB / 432.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.2613, allocations: 156 kB / 432.8 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.2615, allocations: 156 kB / 433 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005134/0.262, allocations: 458.7 kB / 433.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000836/0.2629, allocations: 0.7311 MB / 434.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.2654, allocations: 2.045 MB / 436.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2654, allocations: 0 / 436.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2654, allocations: 4 kB / 436.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.72e-05/0.2655, allocations: 0 / 436.2 MB, free: 2.27 MB / 334.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.003106/0.2686, allocations: 1.63 MB / 437.8 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.2686, allocations: 8.922 kB / 437.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.2689, allocations: 152 kB / 438 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.2705, allocations: 0.8279 MB / 438.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.892e-05/0.2706, allocations: 90.34 kB / 438.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.2708, allocations: 108 kB / 439 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.2734, allocations: 1.541 MB / 440.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.2734, allocations: 0 / 440.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.2735, allocations: 51.94 kB / 440.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.2735, allocations: 28 kB / 440.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.2757, allocations: 1.308 MB / 441.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0071/0.2828, allocations: 4.121 MB / 446.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009934/0.2838, allocations: 0.6129 MB / 446.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007442/0.2846, allocations: 426.5 kB / 447.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.2846, allocations: 8.438 kB / 447.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.2846, allocations: 43 kB / 447.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.144e-06/0.2847, allocations: 0 / 447.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.0036/0.2883, allocations: 1.884 MB / 449 MB, free: 5.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.2883, allocations: 63.84 kB / 449.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.2894, allocations: 0.8165 MB / 449.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.2895, allocations: 33.7 kB / 449.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004635/0.29, allocations: 0.5545 MB / 450.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.2901, allocations: 178.5 kB / 450.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.2903, allocations: 110.3 kB / 450.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.2906, allocations: 382.8 kB / 451.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/0.2911, allocations: 301.1 kB / 451.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.2917, allocations: 412.2 kB / 451.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.2928, allocations: 0.694 MB / 452.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2928, allocations: 0 / 452.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001568/0.2943, allocations: 0.9152 MB / 453.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.2944, allocations: 8 kB / 453.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.2944, allocations: 4.312 kB / 453.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/0.2947, allocations: 112.8 kB / 453.6 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/0.2952, allocations: 123.8 kB / 453.7 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/0.2978, allocations: 2.257 MB / 456 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.2982, allocations: 35.91 kB / 456 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.2982, allocations: 24.06 kB / 456 MB, free: 13.9 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.0007147/0.2989, allocations: 457.4 kB / 456.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.2991, allocations: 79.52 kB / 456.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.2992, allocations: 91.08 kB / 456.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.2992, allocations: 4 kB / 456.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2992, allocations: 0 / 456.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.2993, allocations: 7.922 kB / 456.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/0.3027, allocations: 1.985 MB / 458.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3028, allocations: 0 / 458.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.3031, allocations: 87.88 kB / 458.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002521/0.3034, allocations: 104.9 kB / 458.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.3034, allocations: 12 kB / 458.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.3059, allocations: 2.226 MB / 461 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3059, allocations: 4.031 kB / 461.1 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.3077, allocations: 1.208 MB / 462.3 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.3079, allocations: 87.52 kB / 462.3 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.413e-05/0.308, allocations: 19.98 kB / 462.4 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.3084, allocations: 39.95 kB / 462.4 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.3085, allocations: 52.28 kB / 462.5 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.3086, allocations: 24.12 kB / 462.5 MB, free: 7.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008196/0.3094, allocations: 0.581 MB / 463.1 MB, free: 6.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3094, allocations: 0 / 463.1 MB, free: 6.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007426/0.3101, allocations: 208 kB / 463.3 MB, free: 6.414 MB / 366.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.0001592/0.3103, allocations: 127 kB / 463.4 MB, free: 6.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.3117, allocations: 0.7965 MB / 464.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3117, allocations: 0 / 464.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007624/0.3125, allocations: 485.6 kB / 464.7 MB, free: 4.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008583/0.3134, allocations: 177.9 kB / 464.8 MB, free: 4.816 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.317, allocations: 2.238 MB / 467.1 MB, free: 2.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.3181, allocations: 1.313 MB / 468.4 MB, free: 1.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.3183, allocations: 55.42 kB / 468.4 MB, free: 1.125 MB / 366.1 MB Notification: Performance of SimCode: time 6.02e-07/0.3183, allocations: 0 / 468.4 MB, free: 1.125 MB / 366.1 MB Notification: Performance of Templates: time 0.02492/0.3432, allocations: 18.91 MB / 487.3 MB, free: 14.26 MB / 398.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.448380508925766]