Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001383/0.001383, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.001578/0.001578, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.712e-05/3.99e-05, allocations: 6.25 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007661/0.007701, allocations: 5.898 MB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003699/0.0114, allocations: 2.099 MB / 281 MB, free: 9.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004606/0.01186, allocations: 51.62 kB / 281 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009115/0.01277, allocations: 397.4 kB / 281.4 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.01415, allocations: 0.6016 MB / 282 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.01457, allocations: 235.7 kB / 282.3 MB, free: 8.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.01674, allocations: 2.299 MB / 284.6 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.01828, allocations: 1.135 MB / 285.7 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.0206, allocations: 1.621 MB / 287.3 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.02234, allocations: 1.189 MB / 288.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003421/0.02268, allocations: 288 kB / 288.8 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.02311, allocations: 383.7 kB / 289.2 MB, free: 1.273 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000564/0.02367, allocations: 0.7479 MB / 289.9 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1503/0.174, allocations: 0.8595 MB / 290.8 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002683/0.1767, allocations: 2.038 MB / 292.8 MB, free: 17.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.1767, allocations: 0.6094 kB / 292.8 MB, free: 17.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1767, allocations: 0 / 292.8 MB, free: 17.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.446e-05/0.1767, allocations: 1.188 kB / 292.8 MB, free: 17.63 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.003972/0.1807, allocations: 2.537 MB / 295.3 MB, free: 16.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1807, allocations: 10.09 kB / 295.3 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009592/0.1817, allocations: 431.6 kB / 295.8 MB, free: 16.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.1835, allocations: 1.237 MB / 297 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.928e-05/0.1836, allocations: 131.2 kB / 297.1 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.1839, allocations: 175.5 kB / 297.3 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/0.1867, allocations: 1.568 MB / 298.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.1867, allocations: 6.938 kB / 298.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.1869, allocations: 73.19 kB / 299 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.187, allocations: 98.56 kB / 299 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.1887, allocations: 0.6082 MB / 299.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007327/0.196, allocations: 5.949 MB / 305.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007151/0.1967, allocations: 404.7 kB / 306 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.1971, allocations: 204.1 kB / 306.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.1972, allocations: 41.06 kB / 306.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1973, allocations: 45.55 kB / 306.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.786e-06/0.1973, allocations: 1.078 kB / 306.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.00215/0.1994, allocations: 1.278 MB / 307.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.1994, allocations: 86.52 kB / 307.6 MB, free: 11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.2006, allocations: 1.182 MB / 308.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.2006, allocations: 37.27 kB / 308.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000478/0.2011, allocations: 1.116 MB / 310 MB, free: 9.566 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.2012, allocations: 206.3 kB / 310.2 MB, free: 9.414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.2014, allocations: 266.1 kB / 310.4 MB, free: 9.262 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2016, allocations: 0.552 MB / 311 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.2018, allocations: 127.6 kB / 311.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.2024, allocations: 1.096 MB / 312.2 MB, free: 7.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009748/0.2034, allocations: 1.329 MB / 313.5 MB, free: 6.066 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.2034, allocations: 3.344 kB / 313.5 MB, free: 6.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001526/0.2049, allocations: 1.089 MB / 314.6 MB, free: 5.754 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.2049, allocations: 14.62 kB / 314.7 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.2049, allocations: 21.66 kB / 314.7 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004985/0.2054, allocations: 152.6 kB / 314.8 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.2061, allocations: 278.1 kB / 315.1 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.2074, allocations: 2.368 MB / 317.5 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/0.208, allocations: 87.78 kB / 317.5 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.2081, allocations: 64 kB / 317.6 MB, free: 2.941 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003603/0.2084, allocations: 252.7 kB / 317.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.2086, allocations: 147.1 kB / 318 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006634/0.2093, allocations: 457.4 kB / 318.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2093, allocations: 4 kB / 318.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2093, allocations: 7.938 kB / 318.5 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.2093, allocations: 3.984 kB / 318.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.2115, allocations: 1.898 MB / 320.4 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2115, allocations: 7.172 kB / 320.4 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.2117, allocations: 91.5 kB / 320.5 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.2121, allocations: 127.3 kB / 320.6 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.2122, allocations: 11.94 kB / 320.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/0.2137, allocations: 2.326 MB / 322.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2137, allocations: 7.359 kB / 322.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.2147, allocations: 0.7968 MB / 323.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/0.2151, allocations: 183.2 kB / 323.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.562e-05/0.2151, allocations: 16.06 kB / 323.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/0.2155, allocations: 43.97 kB / 324 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2156, allocations: 55.5 kB / 324 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.2157, allocations: 20 kB / 324 MB, free: 12.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008188/0.2165, allocations: 0.6494 MB / 324.7 MB, free: 11.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2165, allocations: 0 / 324.7 MB, free: 11.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001248/0.2177, allocations: 351.9 kB / 325 MB, free: 11.34 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004854/0.2182, allocations: 185 kB / 325.2 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.2194, allocations: 0.7722 MB / 326 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2194, allocations: 448 / 326 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004554/0.2198, allocations: 398.6 kB / 326.4 MB, free: 9.969 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.2208, allocations: 277.8 kB / 326.6 MB, free: 9.707 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.2248, allocations: 2.798 MB / 329.4 MB, free: 6.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.2253, allocations: 0.5247 MB / 330 MB, free: 6.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000555/0.2258, allocations: 252.8 kB / 330.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.226, allocations: 84.48 kB / 330.3 MB, free: 5.945 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.226, allocations: 4 kB / 330.3 MB, free: 5.941 MB / 282.7 MB Notification: Performance of Templates: time 0.02555/0.2515, allocations: 15.66 MB / 346 MB, free: 6.609 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.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: 3.541071825195104]