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.001371/0.001371, allocations: 123.9 kB / 17.79 MB, free: 5.266 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.00156/0.00156, allocations: 185.2 kB / 20.73 MB, free: 2.332 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.458/1.458, allocations: 225.6 MB / 249.1 MB, free: 3.59 MB / 190.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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 51.91 kB / 365.6 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1072, allocations: 52.14 MB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2369/0.344, allocations: 28.71 MB / 446.5 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.3579, allocations: 7.145 MB / 453.6 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0068/0.3647, allocations: 263.4 kB / 453.9 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02728/0.392, allocations: 13.21 MB / 467.1 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.4026, allocations: 2.725 MB / 469.8 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006435/0.4091, allocations: 1.842 MB / 471.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02379/0.4329, allocations: 18.12 MB / 489.8 MB, free: 8.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07266/0.5055, allocations: 34.26 MB / 0.5118 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01972/0.5252, allocations: 9.95 MB / 0.5215 GB, free: 244 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0204/0.5456, allocations: 11.13 MB / 0.5324 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009311/0.5549, allocations: 2.918 MB / 0.5352 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/0.5656, allocations: 3.169 MB / 0.5383 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009518/0.5752, allocations: 5.489 MB / 0.5437 GB, free: 9.852 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02207/0.5972, allocations: 10.82 MB / 0.5542 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05367/0.6509, allocations: 39.07 MB / 0.5924 GB, free: 8.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.6509, allocations: 0 / 0.5924 GB, free: 8.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.6509, allocations: 0 / 0.5924 GB, free: 8.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001106/0.652, allocations: 4 kB / 0.5924 GB, free: 8.52 MB / 494.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.06746/0.7195, allocations: 22.3 MB / 0.6142 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.7195, allocations: 12.03 kB / 0.6142 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01174/0.7313, allocations: 2.962 MB / 0.6171 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04605/0.7773, allocations: 8.415 MB / 0.6253 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4243/1.202, allocations: 11.66 MB / 0.6367 GB, free: 132.6 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001307/1.203, allocations: 1.339 MB / 0.638 GB, free: 132.5 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006598/1.21, allocations: 1.759 MB / 0.6397 GB, free: 131.9 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06922/1.279, allocations: 28.73 MB / 0.6678 GB, free: 120.9 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006279/1.279, allocations: 18.95 kB / 0.6678 GB, free: 120.9 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004917/1.284, allocations: 0.7276 MB / 0.6685 GB, free: 120.3 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005984/1.285, allocations: 0.8463 MB / 0.6693 GB, free: 120.3 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04585/1.331, allocations: 24.79 MB / 0.6935 GB, free: 104.4 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1242/1.455, allocations: 87.11 MB / 0.7786 GB, free: 17.06 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02684/1.482, allocations: 34.56 MB / 0.8123 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01005/1.492, allocations: 5.036 MB / 0.8173 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006304/1.492, allocations: 208.4 kB / 0.8175 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/1.493, allocations: 95.08 kB / 0.8175 GB, free: 5.855 MB / 0.545 GB Notification: Performance of pre-optimization done (n=577): time 8.045e-06/1.493, allocations: 0 / 0.8175 GB, free: 5.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=577): time 0.03651/1.529, allocations: 14.72 MB / 0.8319 GB, free: 7.02 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/1.529, allocations: 137.6 kB / 0.8321 GB, free: 6.863 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01189/1.541, allocations: 6.428 MB / 0.8383 GB, free: 0.5664 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001046/1.542, allocations: 117.7 kB / 0.8384 GB, free: 456 kB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.006655/1.549, allocations: 7.921 MB / 0.8462 GB, free: 9.406 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002969/1.552, allocations: 2.109 MB / 0.8482 GB, free: 7.324 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003601/1.555, allocations: 2.1 MB / 0.8503 GB, free: 5.215 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.556, allocations: 309 kB / 0.8506 GB, free: 4.91 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008151/1.564, allocations: 4.736 MB / 0.8552 GB, free: 172 kB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4098/1.974, allocations: 9.454 MB / 0.8644 GB, free: 172.1 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02001/1.994, allocations: 15.31 MB / 0.8794 GB, free: 162.9 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003266/1.994, allocations: 45.53 kB / 0.8794 GB, free: 162.9 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02688/2.021, allocations: 15.37 MB / 0.8944 GB, free: 157 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003819/2.021, allocations: 75.12 kB / 0.8945 GB, free: 157 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000462/2.022, allocations: 158.4 kB / 0.8947 GB, free: 157 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005354/2.027, allocations: 1.663 MB / 0.8963 GB, free: 156.7 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008032/2.035, allocations: 2.348 MB / 0.8986 GB, free: 156.4 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/2.048, allocations: 11.61 MB / 0.9099 GB, free: 150.4 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009581/2.057, allocations: 1.383 MB / 0.9113 GB, free: 150.2 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002293/2.06, allocations: 0.5228 MB / 0.9118 GB, free: 150.1 MB / 0.5764 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.01189/2.072, allocations: 7.149 MB / 0.9188 GB, free: 146.9 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/2.073, allocations: 0.6423 MB / 0.9194 GB, free: 146.5 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/2.087, allocations: 10.07 MB / 0.9292 GB, free: 142.5 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009467/2.096, allocations: 7.732 MB / 0.9368 GB, free: 138.6 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.909e-05/2.096, allocations: 12 kB / 0.9368 GB, free: 138.6 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-05/2.096, allocations: 33.91 kB / 0.9368 GB, free: 138.6 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04087/2.137, allocations: 25.42 MB / 0.9616 GB, free: 116.1 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-05/2.137, allocations: 12.17 kB / 0.9617 GB, free: 116 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003345/2.14, allocations: 1.01 MB / 0.9626 GB, free: 115 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005105/2.145, allocations: 1.465 MB / 0.9641 GB, free: 113.6 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008195/2.146, allocations: 124 kB / 0.9642 GB, free: 113.4 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/2.164, allocations: 11.16 MB / 0.9751 GB, free: 102.2 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/2.164, allocations: 12.5 kB / 0.9751 GB, free: 102.2 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02518/2.189, allocations: 14.09 MB / 0.9889 GB, free: 87.74 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005143/2.194, allocations: 1.468 MB / 0.9903 GB, free: 86.34 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001682/2.196, allocations: 111.9 kB / 0.9904 GB, free: 86.23 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005185/2.201, allocations: 323.7 kB / 0.9907 GB, free: 85.91 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001111/2.202, allocations: 400.4 kB / 0.9911 GB, free: 85.52 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000465/2.203, allocations: 173.1 kB / 0.9913 GB, free: 85.35 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.008951/2.212, allocations: 4.301 MB / 0.9955 GB, free: 81.08 MB / 0.5764 GB Notification: Performance of sort global known variables: time 9e-08/2.212, allocations: 4 kB / 0.9955 GB, free: 81.08 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.01598/2.228, allocations: 4.089 MB / 0.9995 GB, free: 77.47 MB / 0.5764 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.02566/2.253, allocations: 14.9 MB / 1.014 GB, free: 62.23 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.02267/2.276, allocations: 10.92 MB / 1.025 GB, free: 51.27 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 1.922e-05/2.276, allocations: 8.25 kB / 1.025 GB, free: 51.26 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.009348/2.286, allocations: 4.335 MB / 1.029 GB, free: 46.91 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007708/2.293, allocations: 1.562 MB / 1.03 GB, free: 45.4 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4052/2.698, allocations: 94.55 MB / 1.123 GB, free: 148.4 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01621/2.715, allocations: 11.26 MB / 1.134 GB, free: 142.9 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.008419/2.723, allocations: 3.768 MB / 1.137 GB, free: 141.3 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008169/2.731, allocations: 5.916 MB / 1.143 GB, free: 135.8 MB / 0.5764 GB Notification: Performance of SimCode: time 1.973e-06/2.731, allocations: 2.625 kB / 1.143 GB, free: 135.8 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5046/3.236, allocations: 208.1 MB / 1.346 GB, free: 156.8 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.91/29.15, allocations: 1.281 kB / 1.346 GB, free: 156.8 MB / 0.592 GB " [Timeout remaining time 631] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 32.36131959594786]