Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 105.3 kB / 17.06 MB, free: 6.027 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.001276/0.001276, allocations: 195 kB / 18 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 47.94 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3401, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03039/0.3706, allocations: 28.6 MB / 428.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01823/0.3889, allocations: 7.129 MB / 436 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007622/0.3965, allocations: 267.1 kB / 436.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02968/0.4263, allocations: 13.09 MB / 449.3 MB, free: 7.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.4376, allocations: 2.691 MB / 452 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007467/0.4451, allocations: 1.843 MB / 453.9 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02412/0.4693, allocations: 18.1 MB / 472 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08505/0.5544, allocations: 44.45 MB / 0.5043 GB, free: 4.172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02041/0.5749, allocations: 9.967 MB / 0.514 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01868/0.5936, allocations: 11.05 MB / 0.5248 GB, free: 15.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009056/0.6027, allocations: 2.918 MB / 0.5277 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/0.6143, allocations: 3.172 MB / 0.5308 GB, free: 9.023 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01124/0.6255, allocations: 5.476 MB / 0.5361 GB, free: 3.535 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.5172/1.143, allocations: 10.82 MB / 0.5467 GB, free: 59.51 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0404/1.183, allocations: 39 MB / 0.5848 GB, free: 45.13 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.183, allocations: 0 / 0.5848 GB, free: 45.13 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.744e-06/1.183, allocations: 0.8125 kB / 0.5848 GB, free: 45.13 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001156/1.184, allocations: 0 / 0.5848 GB, free: 45.13 MB / 462.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.06752/1.252, allocations: 21.94 MB / 0.6062 GB, free: 31.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.252, allocations: 9.312 kB / 0.6062 GB, free: 31.75 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01164/1.264, allocations: 2.959 MB / 0.6091 GB, free: 29.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04378/1.308, allocations: 8.325 MB / 0.6172 GB, free: 22.03 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02706/1.335, allocations: 11.63 MB / 0.6286 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001052/1.336, allocations: 1.343 MB / 0.6299 GB, free: 9.594 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006987/1.343, allocations: 1.755 MB / 0.6316 GB, free: 7.848 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07803/1.421, allocations: 28.73 MB / 0.6597 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007103/1.421, allocations: 19.89 kB / 0.6597 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006018/1.428, allocations: 0.7254 MB / 0.6604 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008203/1.428, allocations: 0.8454 MB / 0.6612 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06708/1.495, allocations: 24.79 MB / 0.6854 GB, free: 0.6914 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4003/1.896, allocations: 86.87 MB / 0.7703 GB, free: 152.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0234/1.919, allocations: 35.12 MB / 0.8046 GB, free: 125.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007892/1.927, allocations: 5.443 MB / 0.8099 GB, free: 125 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/1.928, allocations: 204.2 kB / 0.8101 GB, free: 124.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/1.928, allocations: 91.89 kB / 0.8102 GB, free: 124.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 7.474e-06/1.928, allocations: 0 / 0.8102 GB, free: 124.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03163/1.959, allocations: 14.73 MB / 0.8245 GB, free: 124 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/1.96, allocations: 142.4 kB / 0.8247 GB, free: 123.9 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009504/1.969, allocations: 6.41 MB / 0.8309 GB, free: 123.5 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009664/1.97, allocations: 119.7 kB / 0.831 GB, free: 123.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004006/1.974, allocations: 7.631 MB / 0.8385 GB, free: 118.2 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002312/1.976, allocations: 2.002 MB / 0.8405 GB, free: 116.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003181/1.98, allocations: 2.087 MB / 0.8425 GB, free: 115.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.404e-05/1.98, allocations: 301.1 kB / 0.8428 GB, free: 115 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006283/1.986, allocations: 4.743 MB / 0.8474 GB, free: 112.5 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008483/1.994, allocations: 9.46 MB / 0.8566 GB, free: 103.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01527/2.01, allocations: 15.3 MB / 0.8716 GB, free: 87.2 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/2.01, allocations: 44 kB / 0.8716 GB, free: 87.16 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02493/2.035, allocations: 15.38 MB / 0.8867 GB, free: 71.7 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001699/2.035, allocations: 72 kB / 0.8867 GB, free: 71.62 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002293/2.035, allocations: 164 kB / 0.8869 GB, free: 71.46 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005529/2.041, allocations: 1.664 MB / 0.8885 GB, free: 69.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008508/2.049, allocations: 2.348 MB / 0.8908 GB, free: 67.45 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/2.064, allocations: 11.61 MB / 0.9021 GB, free: 55.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008036/2.072, allocations: 1.343 MB / 0.9034 GB, free: 54.35 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/2.074, allocations: 0.5286 MB / 0.904 GB, free: 53.82 MB / 0.5607 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 (1243): * Single equations (assignments): 1240 * 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.0126/2.086, allocations: 7.145 MB / 0.9109 GB, free: 46.66 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001673/2.088, allocations: 0.6095 MB / 0.9115 GB, free: 46.04 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/2.102, allocations: 10.1 MB / 0.9214 GB, free: 35.82 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009578/2.111, allocations: 7.762 MB / 0.929 GB, free: 27.98 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/2.111, allocations: 19.75 kB / 0.929 GB, free: 27.96 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.512e-05/2.112, allocations: 35.81 kB / 0.929 GB, free: 27.93 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04508/2.157, allocations: 25.43 MB / 0.9539 GB, free: 2.316 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.266e-05/2.157, allocations: 8 kB / 0.9539 GB, free: 2.309 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003795/2.16, allocations: 1.011 MB / 0.9549 GB, free: 1.297 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004947/2.165, allocations: 1.466 MB / 0.9563 GB, free: 15.83 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007036/2.166, allocations: 127.9 kB / 0.9564 GB, free: 15.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01512/2.181, allocations: 11.15 MB / 0.9673 GB, free: 4.43 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/2.181, allocations: 15.94 kB / 0.9673 GB, free: 4.414 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2592/2.441, allocations: 14.08 MB / 0.9811 GB, free: 185.7 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004187/2.445, allocations: 1.444 MB / 0.9825 GB, free: 185.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/2.446, allocations: 106.2 kB / 0.9826 GB, free: 185.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003013/2.449, allocations: 327.5 kB / 0.9829 GB, free: 185.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007822/2.45, allocations: 400.6 kB / 0.9833 GB, free: 185.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003614/2.45, allocations: 167 kB / 0.9834 GB, free: 185.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00725/2.457, allocations: 4.309 MB / 0.9876 GB, free: 185.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 5.01e-07/2.457, allocations: 0 / 0.9876 GB, free: 185.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01234/2.47, allocations: 4.037 MB / 0.9916 GB, free: 184.1 MB / 0.5763 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 (528): * Single equations (assignments): 525 * 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.01834/2.488, allocations: 14.88 MB / 1.006 GB, free: 177.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01579/2.504, allocations: 11.37 MB / 1.017 GB, free: 173 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/2.504, allocations: 0 / 1.017 GB, free: 173 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006638/2.511, allocations: 4.641 MB / 1.022 GB, free: 171.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009387/2.52, allocations: 1.558 MB / 1.023 GB, free: 170.6 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1552/2.675, allocations: 94.15 MB / 1.115 GB, free: 76.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01847/2.694, allocations: 11.26 MB / 1.126 GB, free: 65.1 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009759/2.704, allocations: 3.766 MB / 1.13 GB, free: 61.32 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009084/2.713, allocations: 5.919 MB / 1.136 GB, free: 55.41 MB / 0.5763 GB Notification: Performance of SimCode: time 1.303e-06/2.713, allocations: 0 / 1.136 GB, free: 55.41 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4964/3.209, allocations: 206.5 MB / 1.337 GB, free: 79.14 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.39/29.6, allocations: 7.531 kB / 1.337 GB, free: 79.14 MB / 0.5763 GB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches