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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.1 MB / 223.7 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009126/0.0009126, allocations: 106.8 kB / 271.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007656/0.0007657, allocations: 43.94 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1985, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004518/0.203, allocations: 3.75 MB / 377.6 MB, free: 42.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.205, allocations: 1.008 MB / 378.6 MB, free: 42.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005666/0.2057, allocations: 15.53 kB / 378.6 MB, free: 42.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.206, allocations: 122.7 kB / 378.7 MB, free: 41.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006723/0.2067, allocations: 253 kB / 379 MB, free: 41.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.2069, allocations: 122.9 kB / 379.1 MB, free: 41.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.2081, allocations: 1.672 MB / 380.8 MB, free: 40.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008817/0.209, allocations: 0.9302 MB / 381.7 MB, free: 40.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004805/0.2095, allocations: 0.5251 MB / 382.2 MB, free: 39.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006431/0.2101, allocations: 0.7248 MB / 382.9 MB, free: 39.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.2103, allocations: 101.3 kB / 383 MB, free: 39.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.2105, allocations: 100.6 kB / 383.1 MB, free: 39.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002793/0.2108, allocations: 398.2 kB / 383.5 MB, free: 39.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004948/0.2113, allocations: 0.6632 MB / 384.2 MB, free: 38.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.2123, allocations: 1.962 MB / 386.1 MB, free: 37.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2123, allocations: 0 / 386.1 MB, free: 37.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.2123, allocations: 3.938 kB / 386.1 MB, free: 37.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.2123, allocations: 0 / 386.1 MB, free: 37.12 MB / 298.7 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.002023/0.2144, allocations: 1.656 MB / 387.8 MB, free: 35.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.2144, allocations: 8.031 kB / 387.8 MB, free: 35.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.2146, allocations: 147.2 kB / 388 MB, free: 35.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009857/0.2156, allocations: 0.8072 MB / 388.8 MB, free: 34.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.2156, allocations: 82.59 kB / 388.8 MB, free: 34.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.2157, allocations: 115.9 kB / 389 MB, free: 34.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.2174, allocations: 1.533 MB / 390.5 MB, free: 32.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.2174, allocations: 0 / 390.5 MB, free: 32.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.073e-05/0.2175, allocations: 48 kB / 390.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.2175, allocations: 28 kB / 390.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.219, allocations: 1.308 MB / 391.9 MB, free: 31.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00456/0.2236, allocations: 4.224 MB / 396.1 MB, free: 26.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000744/0.2243, allocations: 1.309 MB / 397.4 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004897/0.2248, allocations: 458.5 kB / 397.9 MB, free: 24.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.2249, allocations: 8.375 kB / 397.9 MB, free: 24.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.2249, allocations: 39 kB / 397.9 MB, free: 24.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 2.355e-06/0.2249, allocations: 0 / 397.9 MB, free: 24.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.002256/0.2272, allocations: 1.946 MB / 399.8 MB, free: 22.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.2272, allocations: 55.84 kB / 399.9 MB, free: 22.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.2279, allocations: 0.8242 MB / 400.7 MB, free: 22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.2279, allocations: 29.7 kB / 400.8 MB, free: 21.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.2281, allocations: 0.5414 MB / 401.3 MB, free: 21.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/0.2282, allocations: 177.5 kB / 401.5 MB, free: 21.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.2283, allocations: 102.2 kB / 401.6 MB, free: 21.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.852e-05/0.2284, allocations: 386.7 kB / 401.9 MB, free: 20.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.2288, allocations: 308.9 kB / 402.2 MB, free: 20.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.2291, allocations: 403.3 kB / 402.6 MB, free: 20.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006743/0.2298, allocations: 0.695 MB / 403.3 MB, free: 19.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2298, allocations: 0 / 403.3 MB, free: 19.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001023/0.2308, allocations: 0.9165 MB / 404.3 MB, free: 18.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2309, allocations: 6.031 kB / 404.3 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2309, allocations: 4 kB / 404.3 MB, free: 18.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.2311, allocations: 112.9 kB / 404.4 MB, free: 18.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.2315, allocations: 123.8 kB / 404.5 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.233, allocations: 2.185 MB / 406.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.2334, allocations: 23.98 kB / 406.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.2334, allocations: 16 kB / 406.7 MB, free: 15.76 MB / 298.7 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.0004213/0.2338, allocations: 469.4 kB / 407.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.2339, allocations: 71.16 kB / 407.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.2341, allocations: 95.06 kB / 407.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2341, allocations: 8 kB / 407.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2341, allocations: 0 / 407.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2341, allocations: 3.984 kB / 407.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.2364, allocations: 2.024 MB / 409.4 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2365, allocations: 7.938 kB / 409.4 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.2368, allocations: 92.05 kB / 409.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001791/0.237, allocations: 100.8 kB / 409.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.237, allocations: 12 kB / 409.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.2384, allocations: 2.131 MB / 411.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2384, allocations: 4.031 kB / 411.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006247/0.2446, allocations: 6.923 MB / 418.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.2448, allocations: 160.2 kB / 418.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/0.2449, allocations: 12 kB / 418.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.2452, allocations: 47.95 kB / 418.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.2453, allocations: 44.44 kB / 418.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.2454, allocations: 16 kB / 418.9 MB, free: 3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000513/0.2459, allocations: 0.5888 MB / 419.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2459, allocations: 0 / 419.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009/0.2468, allocations: 284 kB / 419.8 MB, free: 2.141 MB / 298.7 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.0001175/0.2469, allocations: 115.1 kB / 419.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009937/0.2479, allocations: 0.8164 MB / 420.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2479, allocations: 4 kB / 420.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005376/0.2485, allocations: 493.8 kB / 421.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007667/0.2492, allocations: 174.2 kB / 421.4 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.2528, allocations: 3.225 MB / 424.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008237/0.2537, allocations: 1.362 MB / 426 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000411/0.2541, allocations: 189.8 kB / 426.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.2542, allocations: 47.44 kB / 426.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2542, allocations: 0 / 426.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of Templates: time 0.01604/0.2703, allocations: 11.08 MB / 437.3 MB, free: 0.5508 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches