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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 184.4 kB / 24.49 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 47.92 kB / 371.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2192, allocations: 52.18 MB / 423.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02795/0.2472, allocations: 24.47 MB / 447.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01424/0.2614, allocations: 6.938 MB / 454.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005276/0.2667, allocations: 310.4 kB / 455.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02976/0.2965, allocations: 12.2 MB / 467.3 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.3071, allocations: 2.777 MB / 470.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006474/0.3136, allocations: 1.869 MB / 471.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02459/0.3382, allocations: 18.36 MB / 490.3 MB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05862/0.3968, allocations: 28.4 MB / 0.5065 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0168/0.4136, allocations: 10.16 MB / 0.5165 GB, free: 4.438 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01963/0.4332, allocations: 11.14 MB / 0.5273 GB, free: 9.262 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007309/0.4406, allocations: 2.922 MB / 0.5302 GB, free: 6.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.4516, allocations: 3.172 MB / 0.5333 GB, free: 3.168 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3763/0.8279, allocations: 5.48 MB / 0.5386 GB, free: 43.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01767/0.8456, allocations: 8.376 MB / 0.5468 GB, free: 43.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03843/0.884, allocations: 39.24 MB / 0.5851 GB, free: 26.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.884, allocations: 2.438 kB / 0.5851 GB, free: 26.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.884, allocations: 0 / 0.5851 GB, free: 26.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001072/0.8851, allocations: 0 / 0.5851 GB, free: 26.77 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.05862/0.9437, allocations: 22.23 MB / 0.6069 GB, free: 12.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.9438, allocations: 14.8 kB / 0.6069 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0006121/0.9444, allocations: 0.5271 MB / 0.6074 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01036/0.9547, allocations: 2.971 MB / 0.6103 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04196/0.9967, allocations: 8.41 MB / 0.6185 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02462/1.021, allocations: 11.87 MB / 0.6301 GB, free: 7.023 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001382/1.023, allocations: 1.34 MB / 0.6314 GB, free: 5.691 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006528/1.029, allocations: 1.759 MB / 0.6331 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07539/1.105, allocations: 28.99 MB / 0.6614 GB, free: 6.848 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005732/1.105, allocations: 19.91 kB / 0.6614 GB, free: 6.828 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005015/1.11, allocations: 0.7295 MB / 0.6622 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009048/1.111, allocations: 0.8415 MB / 0.663 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06025/1.171, allocations: 24.8 MB / 0.6872 GB, free: 12.45 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3704/1.542, allocations: 78.86 MB / 0.7642 GB, free: 151.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/1.559, allocations: 12.75 MB / 0.7767 GB, free: 150.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007285/1.567, allocations: 5.043 MB / 0.7816 GB, free: 150.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004501/1.567, allocations: 119.2 kB / 0.7817 GB, free: 150.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.231e-05/1.567, allocations: 91.86 kB / 0.7818 GB, free: 150.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=585): time 9.729e-06/1.567, allocations: 3.938 kB / 0.7818 GB, free: 150.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=681): time 0.06651/1.634, allocations: 34.05 MB / 0.815 GB, free: 141.7 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/1.634, allocations: 157.4 kB / 0.8152 GB, free: 141.6 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007623/1.641, allocations: 6.42 MB / 0.8215 GB, free: 137.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007996/1.642, allocations: 137.7 kB / 0.8216 GB, free: 137 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003197/1.645, allocations: 7.904 MB / 0.8293 GB, free: 129.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001946/1.647, allocations: 2.458 MB / 0.8317 GB, free: 126.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002787/1.65, allocations: 2.227 MB / 0.8339 GB, free: 124.4 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.558e-05/1.65, allocations: 301.1 kB / 0.8342 GB, free: 124.1 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005977/1.656, allocations: 5.284 MB / 0.8393 GB, free: 118.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007767/1.664, allocations: 10.1 MB / 0.8492 GB, free: 106.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01452/1.678, allocations: 16.59 MB / 0.8654 GB, free: 87.58 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001476/1.679, allocations: 48 kB / 0.8654 GB, free: 87.54 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.02335/1.702, allocations: 17.49 MB / 0.8825 GB, free: 69.98 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.544e-05/1.702, allocations: 72 kB / 0.8826 GB, free: 69.91 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000176/1.702, allocations: 160 kB / 0.8827 GB, free: 69.75 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009143/1.711, allocations: 3.115 MB / 0.8858 GB, free: 66.63 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007551/1.719, allocations: 2.394 MB / 0.8881 GB, free: 64.23 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02387/1.743, allocations: 22.79 MB / 0.9104 GB, free: 41.25 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008745/1.751, allocations: 0.663 MB / 0.911 GB, free: 40.58 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002336/1.754, allocations: 0.5468 MB / 0.9116 GB, free: 40.04 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 (1262): * Single equations (assignments): 1258 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,80,80.6%), (6,80,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01198/1.766, allocations: 7.286 MB / 0.9187 GB, free: 32.73 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/1.767, allocations: 0.6753 MB / 0.9193 GB, free: 32.05 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/1.782, allocations: 12.41 MB / 0.9315 GB, free: 19.55 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01209/1.794, allocations: 9.818 MB / 0.941 GB, free: 9.656 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.228e-05/1.794, allocations: 24 kB / 0.9411 GB, free: 9.633 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-05/1.794, allocations: 35.88 kB / 0.9411 GB, free: 9.598 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2778/2.072, allocations: 29.06 MB / 0.9695 GB, free: 176.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.718e-05/2.072, allocations: 13.12 kB / 0.9695 GB, free: 176.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00439/2.077, allocations: 1.053 MB / 0.9705 GB, free: 176.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01009/2.087, allocations: 2.864 MB / 0.9733 GB, free: 176.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001144/2.088, allocations: 142.6 kB / 0.9735 GB, free: 176.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02425/2.112, allocations: 21.09 MB / 0.9941 GB, free: 170 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/2.112, allocations: 15 kB / 0.9941 GB, free: 170 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02185/2.134, allocations: 17.22 MB / 1.011 GB, free: 162.7 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00411/2.138, allocations: 1.517 MB / 1.012 GB, free: 162.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00152/2.14, allocations: 127.3 kB / 1.012 GB, free: 162.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004375/2.144, allocations: 347.8 kB / 1.013 GB, free: 162.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001523/2.146, allocations: 0.5126 MB / 1.013 GB, free: 162 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005126/2.146, allocations: 197.2 kB / 1.014 GB, free: 162 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00737/2.153, allocations: 4.306 MB / 1.018 GB, free: 160.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.01e-07/2.153, allocations: 0 / 1.018 GB, free: 160.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01189/2.165, allocations: 2.949 MB / 1.021 GB, free: 158.6 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * 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 (553): * Single equations (assignments): 549 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,80,75.0%), (6,74,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02224/2.188, allocations: 18.03 MB / 1.038 GB, free: 142.8 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01843/2.206, allocations: 12.97 MB / 1.051 GB, free: 131.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/2.206, allocations: 0 / 1.051 GB, free: 131.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008319/2.214, allocations: 5.723 MB / 1.056 GB, free: 126 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007877/2.222, allocations: 1.603 MB / 1.058 GB, free: 124.5 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1498/2.372, allocations: 102 MB / 1.158 GB, free: 15.48 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02135/2.393, allocations: 11.2 MB / 1.169 GB, free: 4.234 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009596/2.403, allocations: 3.809 MB / 1.172 GB, free: 428 kB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01254/2.416, allocations: 5.977 MB / 1.178 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of SimCode: time 1.262e-06/2.416, allocations: 0 / 1.178 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4724/2.888, allocations: 229.4 MB / 1.402 GB, free: 25.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 48.03/50.92, allocations: 11.91 kB / 1.402 GB, free: 25.7 MB / 0.5919 GB " [Timeout remaining time 609] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 53.973285046056844]