Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 101.3 kB / 17.58 MB, free: 5.414 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.001648/0.001648, allocations: 191.9 kB / 18.5 MB, free: 4.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 52.14 kB / 280.8 MB, free: 3.094 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08695/0.08828, allocations: 46.63 MB / 327.4 MB, free: 4.395 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02776/0.1161, allocations: 29.56 MB / 356.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01524/0.1314, allocations: 7.429 MB / 364.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00519/0.1366, allocations: 219.3 kB / 364.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02868/0.1653, allocations: 13.16 MB / 377.7 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1664/0.3318, allocations: 3.037 MB / 380.8 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005406/0.3372, allocations: 1.896 MB / 382.7 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01975/0.357, allocations: 18.78 MB / 401.5 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05971/0.4167, allocations: 44.91 MB / 446.4 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02113/0.4379, allocations: 10.63 MB / 457 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0182/0.4561, allocations: 11.55 MB / 468.6 MB, free: 344 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00726/0.4634, allocations: 2.973 MB / 471.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009761/0.4732, allocations: 3.227 MB / 474.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008134/0.4814, allocations: 5.769 MB / 480.5 MB, free: 4.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02038/0.5018, allocations: 11.21 MB / 491.7 MB, free: 9.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04133/0.5431, allocations: 39.44 MB / 0.5187 GB, free: 2.672 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5432, allocations: 0.5625 kB / 0.5187 GB, free: 2.672 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5432, allocations: 0 / 0.5187 GB, free: 2.672 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000902/0.5441, allocations: 3.938 kB / 0.5187 GB, free: 2.668 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.4073/0.9514, allocations: 22.86 MB / 0.5411 GB, free: 130.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.9514, allocations: 10.22 kB / 0.5411 GB, free: 130.6 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0118/0.9633, allocations: 3.114 MB / 0.5441 GB, free: 129.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06678/1.03, allocations: 12.29 MB / 0.5561 GB, free: 126.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02226/1.052, allocations: 10.53 MB / 0.5664 GB, free: 119.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00103/1.053, allocations: 1.404 MB / 0.5678 GB, free: 119 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006373/1.06, allocations: 1.834 MB / 0.5696 GB, free: 118.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06741/1.127, allocations: 30.86 MB / 0.5997 GB, free: 88.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000987/1.128, allocations: 19.81 kB / 0.5997 GB, free: 87.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006445/1.135, allocations: 0.7558 MB / 0.6005 GB, free: 87.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007574/1.136, allocations: 0.9724 MB / 0.6014 GB, free: 86.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04974/1.185, allocations: 27.87 MB / 0.6286 GB, free: 58.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4605/1.646, allocations: 94.39 MB / 0.7208 GB, free: 116.1 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03139/1.677, allocations: 53.33 MB / 0.7729 GB, free: 71.15 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007996/1.685, allocations: 5.848 MB / 0.7786 GB, free: 71.07 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02155/1.707, allocations: 16.63 MB / 0.7948 GB, free: 68.07 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/1.707, allocations: 77.38 kB / 0.7949 GB, free: 68.03 MB / 478.3 MB Notification: Performance of pre-optimization done (n=427): time 5.21e-06/1.707, allocations: 3.719 kB / 0.7949 GB, free: 68.03 MB / 478.3 MB Notification: Performance of matching and sorting (n=427): time 0.02774/1.735, allocations: 13.22 MB / 0.8078 GB, free: 67.3 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/1.735, allocations: 127.8 kB / 0.8079 GB, free: 67.2 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009806/1.745, allocations: 7.486 MB / 0.8152 GB, free: 64.12 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0006029/1.745, allocations: 92.73 kB / 0.8153 GB, free: 64.04 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.003933/1.749, allocations: 8.526 MB / 0.8237 GB, free: 56.62 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.001483/1.751, allocations: 1.561 MB / 0.8252 GB, free: 55.3 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002719/1.753, allocations: 2.267 MB / 0.8274 GB, free: 54.01 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 3.802e-05/1.753, allocations: 309.9 kB / 0.8277 GB, free: 53.7 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00559/1.759, allocations: 4.705 MB / 0.8323 GB, free: 51.21 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007714/1.767, allocations: 10.41 MB / 0.8424 GB, free: 40.81 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01435/1.781, allocations: 15.98 MB / 0.8581 GB, free: 23.21 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001942/1.781, allocations: 56 kB / 0.8581 GB, free: 23.16 MB / 478.3 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02238/1.804, allocations: 16 MB / 0.8737 GB, free: 7.137 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 8.368e-05/1.804, allocations: 92.06 kB / 0.8738 GB, free: 7.047 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001709/1.804, allocations: 196.9 kB / 0.874 GB, free: 6.855 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004735/1.809, allocations: 1.707 MB / 0.8757 GB, free: 5.141 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006971/1.816, allocations: 2.499 MB / 0.8781 GB, free: 2.637 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/1.83, allocations: 11.55 MB / 0.8894 GB, free: 6.957 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008571/1.838, allocations: 1.548 MB / 0.8909 GB, free: 5.395 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001703/1.84, allocations: 0.6015 MB / 0.8915 GB, free: 4.793 MB / 494.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1312): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.2142/2.054, allocations: 7.399 MB / 0.8987 GB, free: 146.9 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/2.056, allocations: 0.6192 MB / 0.8993 GB, free: 146.9 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/2.069, allocations: 8.096 MB / 0.9072 GB, free: 145.7 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007803/2.076, allocations: 6.483 MB / 0.9136 GB, free: 143.2 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/2.076, allocations: 11.88 kB / 0.9136 GB, free: 143.2 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.574e-05/2.076, allocations: 19.08 kB / 0.9136 GB, free: 143.2 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03512/2.112, allocations: 20.8 MB / 0.9339 GB, free: 135.4 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/2.112, allocations: 3.625 kB / 0.9339 GB, free: 135.4 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00283/2.114, allocations: 0.7631 MB / 0.9347 GB, free: 135.3 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004311/2.119, allocations: 1.461 MB / 0.9361 GB, free: 135.1 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003209/2.119, allocations: 94.95 kB / 0.9362 GB, free: 135 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/2.131, allocations: 11.15 MB / 0.9471 GB, free: 129.1 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/2.131, allocations: 7.75 kB / 0.9471 GB, free: 129.1 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/2.146, allocations: 11.7 MB / 0.9585 GB, free: 123.9 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002875/2.149, allocations: 1.315 MB / 0.9598 GB, free: 122.7 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/2.15, allocations: 78.84 kB / 0.9598 GB, free: 122.6 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003239/2.153, allocations: 306.4 kB / 0.9601 GB, free: 122.4 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007354/2.154, allocations: 292.3 kB / 0.9604 GB, free: 122.3 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002472/2.154, allocations: 122.9 kB / 0.9605 GB, free: 122.2 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.007572/2.162, allocations: 4.927 MB / 0.9653 GB, free: 118 MB / 494.3 MB Notification: Performance of sort global known variables: time 9.31e-07/2.162, allocations: 0 / 0.9653 GB, free: 118 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.01248/2.174, allocations: 4.186 MB / 0.9694 GB, free: 113.8 MB / 494.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.plug_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 (381): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.014/2.188, allocations: 12.44 MB / 0.9816 GB, free: 101.3 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.03342/2.222, allocations: 19.99 MB / 1.001 GB, free: 81.41 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/2.222, allocations: 6 kB / 1.001 GB, free: 81.41 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.005237/2.227, allocations: 3.939 MB / 1.005 GB, free: 77.46 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007499/2.235, allocations: 1.547 MB / 1.006 GB, free: 75.91 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3352/2.57, allocations: 120.1 MB / 1.124 GB, free: 128.1 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0142/2.584, allocations: 11.61 MB / 1.135 GB, free: 123.6 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.009091/2.593, allocations: 3.977 MB / 1.139 GB, free: 121.8 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007974/2.601, allocations: 6.115 MB / 1.145 GB, free: 116.1 MB / 0.4983 GB Notification: Performance of SimCode: time 3.096e-06/2.601, allocations: 0 / 1.145 GB, free: 116.1 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5025/3.104, allocations: 207 MB / 1.347 GB, free: 93.79 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/16.31, allocations: 4.078 kB / 1.347 GB, free: 93.79 MB / 0.4983 GB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches