Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009692/0.0009692, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009391/0.0009391, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9515/0.9515, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.242e-05, allocations: 5.266 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004795/0.004818, allocations: 3.782 MB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.006791, allocations: 1.024 MB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.007026, allocations: 27.81 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.007348, allocations: 162.8 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007744/0.008123, allocations: 310 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.008423, allocations: 135.8 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.009965, allocations: 1.462 MB / 279.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007923/0.01076, allocations: 0.6236 MB / 280.4 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.01194, allocations: 0.9434 MB / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.01298, allocations: 0.7639 MB / 282.1 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003823/0.01336, allocations: 156 kB / 282.3 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.01364, allocations: 160 kB / 282.4 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003931/0.01404, allocations: 498.6 kB / 282.9 MB, free: 7.363 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006087/0.01464, allocations: 0.5145 MB / 283.4 MB, free: 6.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.01595, allocations: 1.25 MB / 284.7 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.01596, allocations: 0 / 284.7 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.01596, allocations: 0 / 284.7 MB, free: 5.594 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.693e-05/0.01599, allocations: 0 / 284.7 MB, free: 5.594 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.002877/0.01886, allocations: 1.773 MB / 286.5 MB, free: 3.777 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.0189, allocations: 11.98 kB / 286.5 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005665/0.01947, allocations: 264 kB / 286.7 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.02062, allocations: 0.7635 MB / 287.5 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/0.02068, allocations: 82.59 kB / 287.6 MB, free: 2.633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.02085, allocations: 112.4 kB / 287.7 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.02251, allocations: 1.032 MB / 288.7 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.02253, allocations: 0 / 288.7 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.0226, allocations: 48 kB / 288.8 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.034e-05/0.02265, allocations: 42.22 kB / 288.8 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006756/0.02332, allocations: 385 kB / 289.2 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1117/0.135, allocations: 3.319 MB / 292.5 MB, free: 24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.1354, allocations: 339.1 kB / 292.8 MB, free: 23.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.1357, allocations: 182.2 kB / 293 MB, free: 23.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1357, allocations: 8.594 kB / 293 MB, free: 23.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1357, allocations: 41.2 kB / 293.1 MB, free: 23.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.675e-06/0.1357, allocations: 3.938 kB / 293.1 MB, free: 23.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001378/0.1371, allocations: 0.9866 MB / 294 MB, free: 23.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/0.1371, allocations: 58 kB / 294.1 MB, free: 23.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005766/0.1377, allocations: 0.6856 MB / 294.8 MB, free: 23.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1377, allocations: 36.11 kB / 294.8 MB, free: 23.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.138, allocations: 0.6342 MB / 295.5 MB, free: 22.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.259e-05/0.1381, allocations: 178.2 kB / 295.6 MB, free: 22.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.1382, allocations: 108 kB / 295.7 MB, free: 22.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1383, allocations: 0.5898 MB / 296.3 MB, free: 22.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1384, allocations: 69.09 kB / 296.4 MB, free: 22.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.1386, allocations: 217.4 kB / 296.6 MB, free: 22.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.1389, allocations: 323 kB / 296.9 MB, free: 21.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1389, allocations: 2.062 kB / 296.9 MB, free: 21.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005462/0.1395, allocations: 459.6 kB / 297.4 MB, free: 21.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1395, allocations: 9.016 kB / 297.4 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1395, allocations: 3.188 kB / 297.4 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.1397, allocations: 69.25 kB / 297.5 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.14, allocations: 113.8 kB / 297.6 MB, free: 21.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.141, allocations: 2.339 MB / 299.9 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.1411, allocations: 22.22 kB / 299.9 MB, free: 19.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.1412, allocations: 19.94 kB / 299.9 MB, free: 19.61 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * 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.0001488/0.1413, allocations: 193.8 kB / 300.1 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.114e-05/0.1414, allocations: 96.66 kB / 300.2 MB, free: 19.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.938e-05/0.1414, allocations: 77.72 kB / 300.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1415, allocations: 5.047 kB / 300.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1415, allocations: 1.5 kB / 300.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1415, allocations: 2.297 kB / 300.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.143, allocations: 1.378 MB / 301.7 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.143, allocations: 1.375 kB / 301.7 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.1432, allocations: 80.34 kB / 301.8 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001446/0.1433, allocations: 71.39 kB / 301.8 MB, free: 18.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.1434, allocations: 13.83 kB / 301.9 MB, free: 18.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008934/0.1443, allocations: 2.324 MB / 304.2 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1443, allocations: 1.75 kB / 304.2 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.1448, allocations: 0.6246 MB / 304.8 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/0.1449, allocations: 82.77 kB / 304.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.145, allocations: 16.69 kB / 304.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.1452, allocations: 39.59 kB / 304.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.1452, allocations: 47.25 kB / 305 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1453, allocations: 11.66 kB / 305 MB, free: 15.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003528/0.1456, allocations: 438.3 kB / 305.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1456, allocations: 1.312 kB / 305.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005635/0.1462, allocations: 208.7 kB / 305.6 MB, free: 15.75 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * 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.0001192/0.1463, allocations: 112 kB / 305.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005778/0.1469, allocations: 496.9 kB / 306.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1469, allocations: 1.625 kB / 306.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.1472, allocations: 369.8 kB / 306.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.1477, allocations: 162.8 kB / 306.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.1499, allocations: 1.881 MB / 308.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.1501, allocations: 367.8 kB / 309 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002157/0.1504, allocations: 137.7 kB / 309.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.1504, allocations: 47 kB / 309.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1504, allocations: 0 / 309.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of Templates: time 0.01109/0.1615, allocations: 10.66 MB / 319.8 MB, free: 5.039 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/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.7870673649013042]