Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001205/0.001205, allocations: 116.2 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 60.72 kB / 306.6 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 50.53 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1865/0.2957, allocations: 28.04 MB / 385.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.3101, allocations: 7.106 MB / 392.2 MB, free: 1.219 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007048/0.3172, allocations: 253.3 kB / 392.5 MB, free: 1.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03067/0.3479, allocations: 12.45 MB / 404.9 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.3599, allocations: 2.227 MB / 407.2 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006373/0.3663, allocations: 1.883 MB / 409 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02264/0.389, allocations: 18.13 MB / 427.2 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07749/0.4665, allocations: 51.64 MB / 478.8 MB, free: 2.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01822/0.4848, allocations: 10.07 MB / 488.9 MB, free: 8.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01559/0.5004, allocations: 11.15 MB / 0.4883 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006742/0.5072, allocations: 2.926 MB / 0.4912 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009435/0.5166, allocations: 3.207 MB / 0.4943 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009032/0.5257, allocations: 5.503 MB / 0.4997 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02029/0.546, allocations: 10.83 MB / 0.5103 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.384/0.9301, allocations: 38.82 MB / 0.5482 GB, free: 87.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.9301, allocations: 3.188 kB / 0.5482 GB, free: 87.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.9301, allocations: 0 / 0.5482 GB, free: 87.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008523/0.931, allocations: 1.094 kB / 0.5482 GB, free: 87.13 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.07822/1.009, allocations: 22.04 MB / 0.5697 GB, free: 76.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/1.009, allocations: 11.78 kB / 0.5697 GB, free: 76.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0122/1.021, allocations: 2.959 MB / 0.5726 GB, free: 74.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04574/1.067, allocations: 8.355 MB / 0.5808 GB, free: 70.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02492/1.092, allocations: 11.27 MB / 0.5918 GB, free: 60.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001215/1.093, allocations: 1.33 MB / 0.5931 GB, free: 59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008735/1.102, allocations: 1.759 MB / 0.5948 GB, free: 57.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07671/1.179, allocations: 28.77 MB / 0.6229 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007765/1.18, allocations: 19.8 kB / 0.6229 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008189/1.188, allocations: 0.7265 MB / 0.6236 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006581/1.189, allocations: 0.8649 MB / 0.6245 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04734/1.236, allocations: 24.83 MB / 0.6487 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3897/1.626, allocations: 88.43 MB / 0.7351 GB, free: 153.3 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02491/1.651, allocations: 35.2 MB / 0.7694 GB, free: 125.8 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007706/1.658, allocations: 5.379 MB / 0.7747 GB, free: 125.8 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006512/1.659, allocations: 295.8 kB / 0.775 GB, free: 125.6 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.285e-05/1.659, allocations: 96.69 kB / 0.7751 GB, free: 125.5 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=589): time 8.887e-06/1.659, allocations: 0 / 0.7751 GB, free: 125.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=589): time 0.03096/1.69, allocations: 14.81 MB / 0.7895 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/1.69, allocations: 135.2 kB / 0.7897 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01042/1.701, allocations: 6.415 MB / 0.7959 GB, free: 124.3 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001063/1.702, allocations: 126.1 kB / 0.796 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004546/1.706, allocations: 7.595 MB / 0.8035 GB, free: 120.1 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.003344/1.71, allocations: 2.052 MB / 0.8055 GB, free: 118.9 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006326/1.716, allocations: 2.106 MB / 0.8075 GB, free: 118.7 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.073e-05/1.716, allocations: 301.1 kB / 0.8078 GB, free: 118.4 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008492/1.725, allocations: 4.814 MB / 0.8125 GB, free: 118.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009254/1.734, allocations: 9.544 MB / 0.8218 GB, free: 110.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01482/1.749, allocations: 15.46 MB / 0.8369 GB, free: 94.55 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001318/1.749, allocations: 48 kB / 0.837 GB, free: 94.51 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.02415/1.773, allocations: 15.54 MB / 0.8522 GB, free: 78.89 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/1.773, allocations: 76 kB / 0.8522 GB, free: 78.81 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002154/1.773, allocations: 156 kB / 0.8524 GB, free: 78.66 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005256/1.779, allocations: 1.677 MB / 0.854 GB, free: 76.98 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007404/1.786, allocations: 2.349 MB / 0.8563 GB, free: 74.63 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/1.799, allocations: 11.59 MB / 0.8676 GB, free: 62.91 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008545/1.808, allocations: 1.358 MB / 0.8689 GB, free: 61.54 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001781/1.81, allocations: 0.5273 MB / 0.8695 GB, free: 61.02 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1249): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01209/1.822, allocations: 7.145 MB / 0.8764 GB, free: 53.85 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00171/1.824, allocations: 0.6133 MB / 0.877 GB, free: 53.23 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01675/1.84, allocations: 10.29 MB / 0.8871 GB, free: 42.83 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01104/1.851, allocations: 7.931 MB / 0.8948 GB, free: 34.82 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.575e-05/1.852, allocations: 15.12 kB / 0.8948 GB, free: 34.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.234e-05/1.852, allocations: 27.89 kB / 0.8949 GB, free: 34.78 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04534/1.897, allocations: 26.48 MB / 0.9207 GB, free: 7.789 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-05/1.897, allocations: 12.19 kB / 0.9207 GB, free: 7.777 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003945/1.901, allocations: 1.006 MB / 0.9217 GB, free: 6.77 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004888/1.906, allocations: 1.471 MB / 0.9232 GB, free: 5.297 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006711/1.907, allocations: 129.8 kB / 0.9233 GB, free: 5.172 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2057/2.112, allocations: 11.16 MB / 0.9342 GB, free: 163.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/2.112, allocations: 11.34 kB / 0.9342 GB, free: 163.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01927/2.132, allocations: 14.38 MB / 0.9482 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003127/2.135, allocations: 1.449 MB / 0.9497 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001316/2.136, allocations: 122.2 kB / 0.9498 GB, free: 159.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003536/2.14, allocations: 320 kB / 0.9501 GB, free: 159.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008337/2.141, allocations: 406.4 kB / 0.9505 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003276/2.141, allocations: 169.7 kB / 0.9506 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006169/2.147, allocations: 4.302 MB / 0.9548 GB, free: 157.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.31e-07/2.147, allocations: 0 / 0.9548 GB, free: 157.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01276/2.16, allocations: 4.04 MB / 0.9588 GB, free: 156.5 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (534): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01833/2.178, allocations: 15.17 MB / 0.9736 GB, free: 149.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.05393/2.232, allocations: 27.28 MB / 1 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/2.232, allocations: 7.5 kB / 1 GB, free: 126.6 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0063/2.238, allocations: 4.738 MB / 1.005 GB, free: 122.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008306/2.247, allocations: 1.565 MB / 1.006 GB, free: 121.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3367/2.583, allocations: 121 MB / 1.125 GB, free: 178.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02044/2.604, allocations: 11.26 MB / 1.136 GB, free: 177.1 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01043/2.614, allocations: 3.778 MB / 1.139 GB, free: 176.8 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008298/2.623, allocations: 5.878 MB / 1.145 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of SimCode: time 8.32e-07/2.623, allocations: 0 / 1.145 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5634/3.186, allocations: 209.5 MB / 1.35 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/3.186, allocations: 293.8 kB / 1.35 GB, free: 158.2 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.561/8.748, allocations: 6.812 kB / 1.35 GB, free: 158.2 MB / 0.5138 GB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches