Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.001505/0.001505, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 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.001576/0.001576, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.394/1.394, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 71.78 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2089, allocations: 53.32 MB / 432.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007224/0.2161, allocations: 5.671 MB / 437.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.2194, allocations: 1.9 MB / 439.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004235/0.2199, allocations: 20 kB / 439.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003647/0.2235, allocations: 1.61 MB / 441.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.225, allocations: 0.61 MB / 441.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008241/0.2258, allocations: 402.9 kB / 442.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008866/0.2267, allocations: 0.8017 MB / 443.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.2277, allocations: 0.6766 MB / 443.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004184/0.2281, allocations: 354.7 kB / 444.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005619/0.2287, allocations: 494.1 kB / 444.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.797e-05/0.2288, allocations: 76 kB / 444.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/0.2292, allocations: 247.8 kB / 444.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.2294, allocations: 191.2 kB / 445.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000367/0.2297, allocations: 418 kB / 445.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.231, allocations: 1.181 MB / 446.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.231, allocations: 4 kB / 446.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.231, allocations: 0 / 446.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.231, allocations: 0 / 446.7 MB, free: 8.707 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003326/0.2343, allocations: 1.36 MB / 448 MB, free: 7.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2344, allocations: 11.97 kB / 448 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004771/0.2392, allocations: 0.6325 MB / 448.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005678/0.2397, allocations: 419.2 kB / 449.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.2398, allocations: 78.31 kB / 449.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.2399, allocations: 92.38 kB / 449.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.2416, allocations: 0.9863 MB / 450.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.2416, allocations: 4 kB / 450.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.45e-05/0.2417, allocations: 40 kB / 450.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.2417, allocations: 24 kB / 450.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.2434, allocations: 0.9369 MB / 451.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004751/0.2482, allocations: 3.431 MB / 454.7 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/0.2508, allocations: 2.179 MB / 456.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004483/0.2512, allocations: 252.2 kB / 457.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.2514, allocations: 182.7 kB / 457.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.2514, allocations: 51.06 kB / 457.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 1.794e-06/0.2514, allocations: 0 / 457.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001454/0.2529, allocations: 0.7329 MB / 458.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.253, allocations: 111.4 kB / 458.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.2532, allocations: 266.5 kB / 458.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.2533, allocations: 33.95 kB / 458.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.2535, allocations: 403.9 kB / 458.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.2537, allocations: 230 kB / 459.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.2539, allocations: 138.6 kB / 459.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2541, allocations: 346.8 kB / 459.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/0.2545, allocations: 225.9 kB / 459.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.2551, allocations: 439.3 kB / 460.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.2562, allocations: 0.7028 MB / 460.9 MB, free: 9.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2562, allocations: 0 / 460.9 MB, free: 9.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001336/0.2575, allocations: 0.7602 MB / 461.7 MB, free: 8.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2576, allocations: 11.94 kB / 461.7 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.2576, allocations: 7.938 kB / 461.7 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.2576, allocations: 12 kB / 461.7 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007214/0.2583, allocations: 188.2 kB / 461.9 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/0.2583, allocations: 19.94 kB / 461.9 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.2587, allocations: 79.45 kB / 462 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.2588, allocations: 36 kB / 462 MB, free: 8.391 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002608/0.259, allocations: 225.5 kB / 462.2 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.2592, allocations: 39.77 kB / 462.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.2604, allocations: 0.6479 MB / 462.9 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.2604, allocations: 7.984 kB / 462.9 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2604, allocations: 0 / 462.9 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.782e-05/0.2605, allocations: 124.6 kB / 463 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.2606, allocations: 12 kB / 463.1 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.2609, allocations: 27.98 kB / 463.1 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/0.261, allocations: 40.5 kB / 463.1 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001431/0.2624, allocations: 0.8526 MB / 464 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001712/0.2642, allocations: 1.203 MB / 465.2 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004196/0.2646, allocations: 240.4 kB / 465.4 MB, free: 4.926 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.2648, allocations: 182 kB / 465.6 MB, free: 4.75 MB / 366.1 MB Notification: Performance of Backend: time 1.7e-07/0.2648, allocations: 0 / 465.6 MB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.2661, allocations: 0.5447 MB / 466.1 MB, free: 4.199 MB / 366.1 MB Notification: Performance of SimCode: time 0.001811/0.2679, allocations: 1.527 MB / 467.7 MB, free: 2.621 MB / 366.1 MB Notification: Performance of Templates: time 0.01452/0.2824, allocations: 8.181 MB / 475.8 MB, free: 10.45 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.363799934275448]