Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008468/0.0008468, allocations: 178.6 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 223.3 MB / 241 MB, free: 11.83 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007896/0.0007898, allocations: 103.5 kB / 292.2 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002317/0.0002317, allocations: 7.984 kB / 351.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2019, allocations: 50.4 MB / 402.2 MB, free: 32.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.003595/0.2055, allocations: 4.772 MB / 407 MB, free: 27.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.2073, allocations: 1.642 MB / 408.6 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.2075, allocations: 21.31 kB / 408.6 MB, free: 26.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.2079, allocations: 198.9 kB / 408.8 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009121/0.2088, allocations: 0.615 MB / 409.5 MB, free: 25.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.2091, allocations: 235.7 kB / 409.7 MB, free: 25.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000427/0.2096, allocations: 0.7353 MB / 410.4 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.2115, allocations: 1.486 MB / 411.9 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.2117, allocations: 282.8 kB / 412.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.212, allocations: 410.4 kB / 412.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/0.212, allocations: 40 kB / 412.6 MB, free: 22.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000274/0.2123, allocations: 191.8 kB / 412.8 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.2124, allocations: 131.4 kB / 412.9 MB, free: 21.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.219e-05/0.2125, allocations: 169.3 kB / 413.1 MB, free: 21.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005538/0.213, allocations: 0.8856 MB / 414 MB, free: 20.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.213, allocations: 4 kB / 414 MB, free: 20.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.213, allocations: 0 / 414 MB, free: 20.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.2131, allocations: 0 / 414 MB, free: 20.72 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.0024/0.2155, allocations: 1.202 MB / 415.2 MB, free: 19.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.59e-05/0.2155, allocations: 11.97 kB / 415.2 MB, free: 19.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004188/0.2197, allocations: 0.6585 MB / 415.9 MB, free: 18.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.2201, allocations: 413.8 kB / 416.3 MB, free: 18.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.2201, allocations: 70 kB / 416.3 MB, free: 18.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.2202, allocations: 96 kB / 416.4 MB, free: 18.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.2215, allocations: 0.982 MB / 417.4 MB, free: 17.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.2215, allocations: 7.938 kB / 417.4 MB, free: 17.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/0.2216, allocations: 40 kB / 417.5 MB, free: 17.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.2216, allocations: 24 kB / 417.5 MB, free: 17.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.2228, allocations: 0.9292 MB / 418.4 MB, free: 16.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003171/0.226, allocations: 3.362 MB / 421.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.2275, allocations: 2.241 MB / 424 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.2279, allocations: 300.5 kB / 424.3 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.459e-05/0.228, allocations: 101.6 kB / 424.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.228, allocations: 47.12 kB / 424.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=65): time 1.753e-06/0.228, allocations: 0 / 424.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.001059/0.229, allocations: 0.7213 MB / 425.2 MB, free: 8.859 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.2291, allocations: 115.3 kB / 425.3 MB, free: 8.723 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.2293, allocations: 270.5 kB / 425.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.2293, allocations: 33.7 kB / 425.6 MB, free: 8.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2294, allocations: 386.6 kB / 426 MB, free: 8.027 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.21e-05/0.2295, allocations: 216.8 kB / 426.2 MB, free: 7.812 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.2295, allocations: 16 kB / 426.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.928e-05/0.2296, allocations: 350.8 kB / 426.5 MB, free: 7.445 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.2299, allocations: 229.9 kB / 426.8 MB, free: 7.219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.2303, allocations: 439.3 kB / 427.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.2307, allocations: 290.1 kB / 427.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2307, allocations: 0 / 427.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009123/0.2316, allocations: 0.7566 MB / 428.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2316, allocations: 11.95 kB / 428.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2317, allocations: 8 kB / 428.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.2317, allocations: 12 kB / 428.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/0.2323, allocations: 187.7 kB / 428.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.2323, allocations: 15.92 kB / 428.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.2326, allocations: 87.16 kB / 428.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.2326, allocations: 39.98 kB / 428.6 MB, free: 5.297 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001741/0.2328, allocations: 217.6 kB / 428.8 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.602e-05/0.2329, allocations: 35.62 kB / 428.8 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008995/0.2338, allocations: 0.6594 MB / 429.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2338, allocations: 8 kB / 429.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2338, allocations: 0 / 429.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2339, allocations: 3.984 kB / 429.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.2355, allocations: 1.498 MB / 431 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2355, allocations: 0 / 431 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.236, allocations: 147.8 kB / 431.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.236, allocations: 4 kB / 431.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.236, allocations: 15.94 kB / 431.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.236, allocations: 4 kB / 431.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.236, allocations: 0 / 431.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.2372, allocations: 1.13 MB / 432.3 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.2372, allocations: 128.5 kB / 432.4 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.2373, allocations: 11.98 kB / 432.4 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.2376, allocations: 28.06 kB / 432.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.2377, allocations: 44.5 kB / 432.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.2377, allocations: 19.98 kB / 432.5 MB, free: 1.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.2378, allocations: 185.9 kB / 432.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2378, allocations: 0 / 432.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004932/0.2383, allocations: 223.1 kB / 432.9 MB, free: 0.8438 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001482/0.2385, allocations: 143.1 kB / 433.1 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000746/0.2392, allocations: 0.6187 MB / 433.7 MB, free: 88 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2392, allocations: 4.062 kB / 433.7 MB, free: 84 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.2397, allocations: 307 kB / 434 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.2401, allocations: 46.47 kB / 434 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.242, allocations: 1.626 MB / 435.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.2424, allocations: 0.9009 MB / 436.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.2426, allocations: 59.42 kB / 436.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2426, allocations: 0 / 436.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of Templates: time 0.00847/0.251, allocations: 7.128 MB / 443.7 MB, free: 5.949 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches