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.001368/0.001368, allocations: 106.5 kB / 17.73 MB, free: 5.32 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.00167/0.00167, allocations: 187 kB / 18.67 MB, free: 4.387 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.418/1.418, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001399/0.001399, allocations: 51.92 kB / 328 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.09429, allocations: 46.61 MB / 374.6 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.2216/0.3159, allocations: 29.58 MB / 404.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02068/0.3366, allocations: 7.42 MB / 411.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008971/0.3457, allocations: 219.3 kB / 411.9 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03237/0.3781, allocations: 13.21 MB / 425.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01328/0.3914, allocations: 3.069 MB / 428.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007654/0.3991, allocations: 1.92 MB / 430.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0283/0.4274, allocations: 18.93 MB / 449 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08131/0.5088, allocations: 44.6 MB / 493.6 MB, free: 8.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01879/0.5276, allocations: 10.31 MB / 0.4921 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0191/0.5468, allocations: 11.53 MB / 0.5034 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009771/0.5566, allocations: 2.977 MB / 0.5063 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0142/0.5708, allocations: 3.23 MB / 0.5094 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0113/0.5822, allocations: 5.76 MB / 0.515 GB, free: 6.812 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02211/0.6043, allocations: 11.22 MB / 0.526 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.474/1.078, allocations: 39.74 MB / 0.5648 GB, free: 85.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/1.078, allocations: 0 / 0.5648 GB, free: 85.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.906e-06/1.078, allocations: 0 / 0.5648 GB, free: 85.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001217/1.08, allocations: 1.438 kB / 0.5648 GB, free: 85.16 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.0815/1.161, allocations: 23.28 MB / 0.5875 GB, free: 75.39 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/1.161, allocations: 10.25 kB / 0.5876 GB, free: 75.39 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01278/1.174, allocations: 3.111 MB / 0.5906 GB, free: 73.49 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06649/1.241, allocations: 12.37 MB / 0.6027 GB, free: 67.9 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0264/1.267, allocations: 10.57 MB / 0.613 GB, free: 57.88 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001266/1.268, allocations: 1.399 MB / 0.6144 GB, free: 56.49 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0103/1.279, allocations: 1.838 MB / 0.6162 GB, free: 54.67 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08468/1.363, allocations: 30.85 MB / 0.6463 GB, free: 23.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000842/1.364, allocations: 15.33 kB / 0.6463 GB, free: 23.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008636/1.373, allocations: 0.7597 MB / 0.6471 GB, free: 23.03 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008061/1.374, allocations: 0.9724 MB / 0.648 GB, free: 22.05 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05886/1.433, allocations: 27.87 MB / 0.6752 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4217/1.854, allocations: 93.49 MB / 0.7665 GB, free: 173.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03903/1.893, allocations: 53.34 MB / 0.8186 GB, free: 128.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008915/1.902, allocations: 5.992 MB / 0.8245 GB, free: 128.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03104/1.934, allocations: 16.62 MB / 0.8407 GB, free: 125.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/1.934, allocations: 79.47 kB / 0.8408 GB, free: 125.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=427): time 7.214e-06/1.934, allocations: 0 / 0.8408 GB, free: 125.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=427): time 0.03221/1.966, allocations: 13.25 MB / 0.8537 GB, free: 124.7 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/1.966, allocations: 121.3 kB / 0.8538 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01324/1.979, allocations: 7.501 MB / 0.8611 GB, free: 123.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009641/1.98, allocations: 94.39 kB / 0.8612 GB, free: 123.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00606/1.986, allocations: 8.862 MB / 0.8699 GB, free: 117 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002036/1.988, allocations: 1.633 MB / 0.8715 GB, free: 115.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005766/1.994, allocations: 2.289 MB / 0.8737 GB, free: 114.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.533e-05/1.994, allocations: 304.8 kB / 0.874 GB, free: 114.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007283/2.002, allocations: 4.709 MB / 0.8786 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009238/2.011, allocations: 10.4 MB / 0.8888 GB, free: 100.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01563/2.026, allocations: 15.98 MB / 0.9044 GB, free: 82.07 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001733/2.027, allocations: 56 kB / 0.9044 GB, free: 82.02 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02458/2.051, allocations: 16.04 MB / 0.9201 GB, free: 65.97 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/2.051, allocations: 88 kB / 0.9202 GB, free: 65.88 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002774/2.052, allocations: 200.1 kB / 0.9204 GB, free: 65.69 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005072/2.057, allocations: 1.703 MB / 0.922 GB, free: 63.98 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008498/2.065, allocations: 2.499 MB / 0.9245 GB, free: 61.47 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/2.078, allocations: 11.55 MB / 0.9357 GB, free: 49.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/2.089, allocations: 1.587 MB / 0.9373 GB, free: 48.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002415/2.091, allocations: 0.6015 MB / 0.9379 GB, free: 47.6 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.0138/2.105, allocations: 7.394 MB / 0.9451 GB, free: 40.19 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/2.107, allocations: 0.6636 MB / 0.9457 GB, free: 39.52 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/2.118, allocations: 8.084 MB / 0.9536 GB, free: 31.4 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007673/2.126, allocations: 6.484 MB / 0.96 GB, free: 24.9 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/2.126, allocations: 16 kB / 0.96 GB, free: 24.88 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.95e-05/2.126, allocations: 19.92 kB / 0.96 GB, free: 24.86 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04101/2.167, allocations: 20.74 MB / 0.9803 GB, free: 4.125 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/2.167, allocations: 0 / 0.9803 GB, free: 4.125 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/2.17, allocations: 0.7645 MB / 0.981 GB, free: 3.359 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004756/2.175, allocations: 1.457 MB / 0.9824 GB, free: 1.898 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006707/2.176, allocations: 91.97 kB / 0.9825 GB, free: 1.809 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2583/2.434, allocations: 11.15 MB / 0.9934 GB, free: 187.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/2.434, allocations: 1.094 kB / 0.9934 GB, free: 187.3 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01664/2.451, allocations: 11.74 MB / 1.005 GB, free: 182.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003885/2.455, allocations: 1.348 MB / 1.006 GB, free: 182.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001681/2.456, allocations: 82.2 kB / 1.006 GB, free: 182.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003504/2.46, allocations: 307 kB / 1.007 GB, free: 182.1 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008593/2.461, allocations: 289.9 kB / 1.007 GB, free: 182 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000292/2.461, allocations: 121 kB / 1.007 GB, free: 182 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.008686/2.47, allocations: 4.932 MB / 1.012 GB, free: 180.3 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.373e-06/2.47, allocations: 0 / 1.012 GB, free: 180.3 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01442/2.484, allocations: 4.238 MB / 1.016 GB, free: 178.9 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.01661/2.501, allocations: 12.49 MB / 1.028 GB, free: 173.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01828/2.519, allocations: 10.97 MB / 1.039 GB, free: 168.4 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/2.519, allocations: 0 / 1.039 GB, free: 168.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006481/2.526, allocations: 3.949 MB / 1.043 GB, free: 165 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009318/2.535, allocations: 1.556 MB / 1.044 GB, free: 163.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1597/2.695, allocations: 100.1 MB / 1.142 GB, free: 61.17 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01852/2.714, allocations: 11.62 MB / 1.153 GB, free: 49.52 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.009521/2.723, allocations: 3.972 MB / 1.157 GB, free: 45.54 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01089/2.734, allocations: 6.119 MB / 1.163 GB, free: 39.42 MB / 0.5607 GB Notification: Performance of SimCode: time 1.392e-06/2.734, allocations: 3.938 kB / 1.163 GB, free: 39.41 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.485/3.219, allocations: 204.9 MB / 1.363 GB, free: 60.48 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.02/29.24, allocations: 7.938 kB / 1.363 GB, free: 60.48 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