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.001647/0.001647, allocations: 113.2 kB / 17.73 MB, free: 5.336 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.00182/0.001821, allocations: 188.2 kB / 18.67 MB, free: 4.402 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.41/1.41, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001975/0.001975, allocations: 52.41 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.1006, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.2024/0.3031, allocations: 29.58 MB / 404.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02043/0.3235, allocations: 7.419 MB / 411.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008252/0.3319, allocations: 219.6 kB / 411.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02821/0.3601, allocations: 13.21 MB / 425.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01324/0.3734, allocations: 3.075 MB / 428.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007606/0.381, allocations: 1.912 MB / 430.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02607/0.4071, allocations: 18.93 MB / 449 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07993/0.4871, allocations: 44.6 MB / 493.6 MB, free: 8.703 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01865/0.5058, allocations: 10.31 MB / 0.4921 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01776/0.5236, allocations: 11.53 MB / 0.5034 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008186/0.5318, allocations: 2.973 MB / 0.5063 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01209/0.5439, allocations: 3.234 MB / 0.5094 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009188/0.5532, allocations: 5.764 MB / 0.515 GB, free: 6.812 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02104/0.5742, allocations: 11.21 MB / 0.526 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4607/1.035, allocations: 39.74 MB / 0.5648 GB, free: 85.08 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/1.035, allocations: 1 kB / 0.5648 GB, free: 85.08 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.906e-06/1.035, allocations: 0 / 0.5648 GB, free: 85.08 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001203/1.036, allocations: 0 / 0.5648 GB, free: 85.08 MB / 478.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.07499/1.111, allocations: 23.28 MB / 0.5875 GB, free: 75.33 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.111, allocations: 7.875 kB / 0.5876 GB, free: 75.33 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01411/1.125, allocations: 3.109 MB / 0.5906 GB, free: 73.42 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06482/1.19, allocations: 12.37 MB / 0.6027 GB, free: 67.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02822/1.219, allocations: 10.58 MB / 0.613 GB, free: 57.88 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001973/1.221, allocations: 1.4 MB / 0.6144 GB, free: 56.49 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01122/1.232, allocations: 1.838 MB / 0.6162 GB, free: 54.67 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08474/1.317, allocations: 30.85 MB / 0.6463 GB, free: 23.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009996/1.318, allocations: 19.94 kB / 0.6463 GB, free: 23.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008024/1.326, allocations: 0.7596 MB / 0.6471 GB, free: 23.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008591/1.327, allocations: 0.9646 MB / 0.648 GB, free: 22.05 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05904/1.386, allocations: 27.87 MB / 0.6752 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4187/1.804, allocations: 93.49 MB / 0.7665 GB, free: 173.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03735/1.842, allocations: 53.34 MB / 0.8186 GB, free: 128.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008305/1.85, allocations: 5.993 MB / 0.8245 GB, free: 128.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02525/1.875, allocations: 16.61 MB / 0.8407 GB, free: 125.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/1.876, allocations: 77.75 kB / 0.8408 GB, free: 125.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=427): time 6.051e-06/1.876, allocations: 0 / 0.8408 GB, free: 125.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=427): time 0.03014/1.906, allocations: 13.25 MB / 0.8537 GB, free: 124.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/1.906, allocations: 125.8 kB / 0.8538 GB, free: 124.8 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01146/1.917, allocations: 7.494 MB / 0.8611 GB, free: 123.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007811/1.918, allocations: 99.08 kB / 0.8612 GB, free: 123.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00542/1.924, allocations: 8.862 MB / 0.8699 GB, free: 117 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001964/1.925, allocations: 1.629 MB / 0.8715 GB, free: 115.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003584/1.929, allocations: 2.291 MB / 0.8737 GB, free: 114.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 7.292e-05/1.929, allocations: 301.1 kB / 0.874 GB, free: 114.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005895/1.935, allocations: 4.716 MB / 0.8786 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00801/1.943, allocations: 10.4 MB / 0.8888 GB, free: 100.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/1.957, allocations: 15.98 MB / 0.9044 GB, free: 82.07 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001373/1.958, allocations: 59.94 kB / 0.9044 GB, free: 82.01 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02192/1.979, allocations: 16.03 MB / 0.9201 GB, free: 65.96 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.98, allocations: 88 kB / 0.9202 GB, free: 65.88 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002111/1.98, allocations: 200.9 kB / 0.9204 GB, free: 65.68 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004433/1.984, allocations: 1.703 MB / 0.922 GB, free: 63.97 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00727/1.992, allocations: 2.5 MB / 0.9245 GB, free: 61.46 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/2.004, allocations: 11.55 MB / 0.9357 GB, free: 49.79 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01004/2.014, allocations: 1.583 MB / 0.9373 GB, free: 48.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001952/2.016, allocations: 0.6015 MB / 0.9379 GB, free: 47.59 MB / 0.5607 GB 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.01131/2.027, allocations: 7.394 MB / 0.9451 GB, free: 40.18 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/2.029, allocations: 0.6597 MB / 0.9457 GB, free: 39.52 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/2.039, allocations: 8.088 MB / 0.9536 GB, free: 31.39 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007445/2.047, allocations: 6.486 MB / 0.96 GB, free: 24.89 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/2.047, allocations: 12 kB / 0.96 GB, free: 24.88 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-05/2.047, allocations: 23.92 kB / 0.96 GB, free: 24.86 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03842/2.085, allocations: 20.74 MB / 0.9803 GB, free: 4.117 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/2.085, allocations: 1.203 kB / 0.9803 GB, free: 4.117 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00295/2.088, allocations: 0.7658 MB / 0.981 GB, free: 3.352 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004376/2.093, allocations: 1.454 MB / 0.9824 GB, free: 1.895 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006223/2.093, allocations: 95.97 kB / 0.9825 GB, free: 1.801 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2396/2.333, allocations: 11.14 MB / 0.9934 GB, free: 187.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/2.333, allocations: 2 kB / 0.9934 GB, free: 187.6 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01793/2.351, allocations: 11.75 MB / 1.005 GB, free: 183 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003163/2.354, allocations: 1.348 MB / 1.006 GB, free: 182.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001595/2.356, allocations: 79.2 kB / 1.006 GB, free: 182.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003279/2.359, allocations: 304.4 kB / 1.007 GB, free: 182.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000703/2.36, allocations: 296.8 kB / 1.007 GB, free: 182.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002444/2.36, allocations: 123.2 kB / 1.007 GB, free: 182.1 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00766/2.368, allocations: 4.931 MB / 1.012 GB, free: 180.4 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.21e-07/2.368, allocations: 0 / 1.012 GB, free: 180.4 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01348/2.381, allocations: 4.234 MB / 1.016 GB, free: 179 MB / 0.5607 GB 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.01413/2.395, allocations: 12.5 MB / 1.028 GB, free: 173.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01611/2.412, allocations: 10.97 MB / 1.039 GB, free: 168.5 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/2.412, allocations: 4 kB / 1.039 GB, free: 168.5 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006449/2.418, allocations: 3.949 MB / 1.043 GB, free: 165.1 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007692/2.426, allocations: 1.557 MB / 1.044 GB, free: 163.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1449/2.571, allocations: 100.1 MB / 1.142 GB, free: 61.18 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02005/2.591, allocations: 11.6 MB / 1.153 GB, free: 49.54 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.008974/2.6, allocations: 3.979 MB / 1.157 GB, free: 45.55 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008821/2.609, allocations: 6.111 MB / 1.163 GB, free: 39.44 MB / 0.5607 GB Notification: Performance of SimCode: time 8.81e-07/2.609, allocations: 4 kB / 1.163 GB, free: 39.43 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4764/3.085, allocations: 204.9 MB / 1.363 GB, free: 60.49 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.3/28.39, allocations: 4 kB / 1.363 GB, free: 60.49 MB / 0.5607 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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