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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 109.7 kB / 17.16 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.321/2.321, allocations: 222.9 MB / 241.7 MB, free: 15.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 44.33 kB / 300.6 MB, free: 6.344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1603, allocations: 49.44 MB / 350.1 MB, free: 4.898 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.01072/0.1711, allocations: 5.588 MB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005421/0.1766, allocations: 1.799 MB / 357.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.1777, allocations: 16 kB / 357.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004911/0.1828, allocations: 1.525 MB / 359 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00406/0.1869, allocations: 0.6995 MB / 359.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.1882, allocations: 251.6 kB / 359.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.19, allocations: 0.7704 MB / 360.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/0.1922, allocations: 0.7911 MB / 361.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000749/0.193, allocations: 334.7 kB / 361.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008588/0.1939, allocations: 482.1 kB / 362.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003396/0.1942, allocations: 60 kB / 362.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008591/0.1951, allocations: 219.8 kB / 362.6 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.1953, allocations: 179.3 kB / 362.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005723/0.1959, allocations: 405.9 kB / 363.1 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.1974, allocations: 0.9195 MB / 364.1 MB, free: 6.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.1974, allocations: 0 / 364.1 MB, free: 6.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1975, allocations: 0 / 364.1 MB, free: 6.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.1975, allocations: 0 / 364.1 MB, free: 6.82 MB / 302.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.00514/0.2026, allocations: 1.35 MB / 365.4 MB, free: 5.422 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/0.2027, allocations: 8.031 kB / 365.4 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008158/0.2109, allocations: 0.6594 MB / 366.1 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.2122, allocations: 413.7 kB / 366.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.2124, allocations: 74.38 kB / 366.5 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.2127, allocations: 92.38 kB / 366.6 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00292/0.2156, allocations: 0.9901 MB / 367.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.429e-05/0.2157, allocations: 7.984 kB / 367.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.2159, allocations: 40 kB / 367.7 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.2159, allocations: 24 kB / 367.7 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.2186, allocations: 0.9136 MB / 368.6 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2882/0.5068, allocations: 3.361 MB / 372 MB, free: 23.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003135/0.51, allocations: 2.237 MB / 374.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007428/0.5108, allocations: 295.4 kB / 374.5 MB, free: 21.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.511, allocations: 96 kB / 374.6 MB, free: 21.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.511, allocations: 47.12 kB / 374.6 MB, free: 21.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 4.699e-06/0.511, allocations: 3.875 kB / 374.6 MB, free: 21.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.002297/0.5134, allocations: 0.7125 MB / 375.4 MB, free: 21.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.5134, allocations: 118.1 kB / 375.5 MB, free: 21.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.514, allocations: 274.1 kB / 375.7 MB, free: 21.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.514, allocations: 36.27 kB / 375.8 MB, free: 21.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.5143, allocations: 382.3 kB / 376.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.5145, allocations: 225.4 kB / 376.4 MB, free: 20.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/0.5149, allocations: 135.9 kB / 376.5 MB, free: 20.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.515, allocations: 346.6 kB / 376.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006378/0.5156, allocations: 221.9 kB / 377.1 MB, free: 20.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007171/0.5164, allocations: 437.3 kB / 377.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.5178, allocations: 0.6953 MB / 378.2 MB, free: 19.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.5178, allocations: 1.375 kB / 378.2 MB, free: 19.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002053/0.5198, allocations: 0.7513 MB / 378.9 MB, free: 18.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.5199, allocations: 7.688 kB / 378.9 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.5199, allocations: 6.75 kB / 378.9 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.004e-05/0.52, allocations: 10.58 kB / 378.9 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.5211, allocations: 190.4 kB / 379.1 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.399e-05/0.5212, allocations: 15.55 kB / 379.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/0.5219, allocations: 81.45 kB / 379.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.5221, allocations: 35.97 kB / 379.3 MB, free: 18.88 MB / 302.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.0005158/0.5226, allocations: 220.2 kB / 379.5 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.5228, allocations: 45.08 kB / 379.5 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.5249, allocations: 0.6412 MB / 380.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.5249, allocations: 11.88 kB / 380.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.5249, allocations: 1.219 kB / 380.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/0.525, allocations: 6.141 kB / 380.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/0.5291, allocations: 1.486 MB / 381.7 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.5291, allocations: 0 / 381.7 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.5302, allocations: 143.2 kB / 381.8 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.982e-05/0.5302, allocations: 3.688 kB / 381.8 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-05/0.5303, allocations: 18.78 kB / 381.8 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/0.5303, allocations: 3 kB / 381.8 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.5303, allocations: 5.938 kB / 381.8 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.5329, allocations: 1.117 MB / 383 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.5331, allocations: 124.7 kB / 383.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.5332, allocations: 12.23 kB / 383.1 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006483/0.5339, allocations: 20.2 kB / 383.1 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.5341, allocations: 49.72 kB / 383.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.215e-05/0.5342, allocations: 18.83 kB / 383.2 MB, free: 16.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003103/0.5345, allocations: 189.4 kB / 383.4 MB, free: 16.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5345, allocations: 0 / 383.4 MB, free: 16.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001358/0.5359, allocations: 221.6 kB / 383.6 MB, free: 16.58 MB / 302.1 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.0003434/0.5362, allocations: 152.1 kB / 383.7 MB, free: 16.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.538, allocations: 0.6109 MB / 384.3 MB, free: 16.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5381, allocations: 1.125 kB / 384.3 MB, free: 16.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007271/0.5388, allocations: 301.4 kB / 384.6 MB, free: 16.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009418/0.5398, allocations: 45.7 kB / 384.7 MB, free: 16.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.5432, allocations: 1.648 MB / 386.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006598/0.5439, allocations: 0.9035 MB / 387.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.5443, allocations: 57.78 kB / 387.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5443, allocations: 0 / 387.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of Templates: time 0.01946/0.5637, allocations: 7.191 MB / 394.5 MB, free: 11.81 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches