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.00111/0.001116, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.0009112/0.0009111, allocations: 104.4 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007565/0.0007565, allocations: 39.94 kB / 350 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1842, allocations: 49.44 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004653/0.1888, allocations: 5.571 MB / 405.1 MB, free: 27.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.1911, allocations: 1.804 MB / 406.9 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.1913, allocations: 20 kB / 406.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.1937, allocations: 1.524 MB / 408.4 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.1948, allocations: 0.6873 MB / 409.1 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.1953, allocations: 267.5 kB / 409.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004827/0.1958, allocations: 0.786 MB / 410.1 MB, free: 22.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009027/0.1967, allocations: 0.7768 MB / 410.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.1969, allocations: 342.6 kB / 411.2 MB, free: 21.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003449/0.1973, allocations: 478.2 kB / 411.7 MB, free: 21.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.216e-05/0.1974, allocations: 60 kB / 411.8 MB, free: 21.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003612/0.1977, allocations: 223.8 kB / 412 MB, free: 20.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1978, allocations: 171.4 kB / 412.2 MB, free: 20.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.1981, allocations: 405.9 kB / 412.6 MB, free: 20.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007165/0.1988, allocations: 1.137 MB / 413.7 MB, free: 19.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1988, allocations: 0 / 413.7 MB, free: 19.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1988, allocations: 0 / 413.7 MB, free: 19.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1988, allocations: 0 / 413.7 MB, free: 19.08 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.002711/0.2016, allocations: 1.358 MB / 415 MB, free: 17.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2016, allocations: 12.03 kB / 415.1 MB, free: 17.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004028/0.2056, allocations: 0.6477 MB / 415.7 MB, free: 17.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.206, allocations: 415.1 kB / 416.1 MB, free: 16.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.2061, allocations: 70.38 kB / 416.2 MB, free: 16.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/0.2062, allocations: 92.38 kB / 416.3 MB, free: 16.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.2074, allocations: 0.9902 MB / 417.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.2074, allocations: 4 kB / 417.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.739e-05/0.2075, allocations: 40 kB / 417.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.2075, allocations: 20 kB / 417.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.2088, allocations: 0.9252 MB / 418.2 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.2121, allocations: 3.366 MB / 421.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.2138, allocations: 2.24 MB / 423.9 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.2141, allocations: 300.1 kB / 424.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.338e-05/0.2142, allocations: 97.64 kB / 424.2 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.2143, allocations: 43.06 kB / 424.3 MB, free: 7.812 MB / 298.7 MB Notification: Performance of pre-optimization done (n=65): time 2.064e-06/0.2143, allocations: 0 / 424.3 MB, free: 7.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.001077/0.2154, allocations: 0.7174 MB / 425 MB, free: 7.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.2154, allocations: 115.4 kB / 425.1 MB, free: 6.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.2156, allocations: 270.5 kB / 425.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.2156, allocations: 41.7 kB / 425.4 MB, free: 6.633 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2157, allocations: 378.6 kB / 425.8 MB, free: 6.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.527e-05/0.2158, allocations: 220.8 kB / 426 MB, free: 6.035 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.216, allocations: 138.6 kB / 426.1 MB, free: 5.895 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.512e-05/0.216, allocations: 346.8 kB / 426.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.2164, allocations: 225.9 kB / 426.7 MB, free: 5.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/0.2168, allocations: 443.3 kB / 427.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007454/0.2175, allocations: 0.6911 MB / 427.8 MB, free: 4.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2176, allocations: 3.938 kB / 427.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009699/0.2185, allocations: 0.7487 MB / 428.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2186, allocations: 12.06 kB / 428.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.2186, allocations: 12 kB / 428.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2186, allocations: 12 kB / 428.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/0.2192, allocations: 183.7 kB / 428.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.2192, allocations: 19.92 kB / 428.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.2196, allocations: 75.22 kB / 428.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.2196, allocations: 39.98 kB / 428.9 MB, free: 2.922 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001812/0.2198, allocations: 225.5 kB / 429.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.359e-05/0.2199, allocations: 43.47 kB / 429.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009486/0.2209, allocations: 0.64 MB / 429.8 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2209, allocations: 11.94 kB / 429.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2209, allocations: 4 kB / 429.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2209, allocations: 3.984 kB / 429.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.2226, allocations: 1.483 MB / 431.3 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2226, allocations: 4 kB / 431.3 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005093/0.2231, allocations: 143.9 kB / 431.5 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.2231, allocations: 0 / 431.5 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.2232, allocations: 16 kB / 431.5 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2232, allocations: 7.875 kB / 431.5 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2232, allocations: 4 kB / 431.5 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/0.2257, allocations: 2.353 MB / 433.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-05/0.2258, allocations: 128.5 kB / 434 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.2259, allocations: 20.06 kB / 434 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.2263, allocations: 23.98 kB / 434 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.2264, allocations: 40.5 kB / 434.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.2264, allocations: 20 kB / 434.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001496/0.2266, allocations: 186 kB / 434.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2266, allocations: 0 / 434.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006982/0.2273, allocations: 243.1 kB / 434.5 MB, free: 13.11 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001985/0.2275, allocations: 143.1 kB / 434.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009341/0.2284, allocations: 0.6068 MB / 435.2 MB, free: 12.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2284, allocations: 0 / 435.2 MB, free: 12.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000441/0.2289, allocations: 307.4 kB / 435.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.2294, allocations: 44.48 kB / 435.6 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.2316, allocations: 1.968 MB / 437.6 MB, free: 9.988 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.232, allocations: 0.9165 MB / 438.5 MB, free: 9.043 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003404/0.2324, allocations: 80.38 kB / 438.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.2325, allocations: 51.42 kB / 438.6 MB, free: 8.91 MB / 314.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2325, allocations: 4 kB / 438.6 MB, free: 8.906 MB / 314.7 MB Notification: Performance of Templates: time 0.008529/0.241, allocations: 4.665 MB / 443.3 MB, free: 4.246 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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