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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005536/0.005536, allocations: 112 kB / 21.97 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 202.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 52.34 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2731, allocations: 49.17 MB / 397.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03003/0.3032, allocations: 29.71 MB / 426.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01897/0.3221, allocations: 7.468 MB / 434.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007885/0.33, allocations: 263.3 kB / 434.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02991/0.3599, allocations: 13.31 MB / 447.9 MB, free: 396 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01291/0.3728, allocations: 3.003 MB / 450.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006615/0.3794, allocations: 2.156 MB / 453.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0249/0.4043, allocations: 19.18 MB / 472.2 MB, free: 7.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05801/0.4624, allocations: 28.62 MB / 0.4891 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01731/0.4797, allocations: 10.52 MB / 0.4994 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01962/0.4993, allocations: 11.64 MB / 0.5108 GB, free: 4.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008377/0.5077, allocations: 2.973 MB / 0.5137 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01128/0.5189, allocations: 3.242 MB / 0.5168 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01059/0.5295, allocations: 5.783 MB / 0.5225 GB, free: 8.867 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02196/0.5515, allocations: 11.22 MB / 0.5334 GB, free: 13.6 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4397/0.9912, allocations: 39.76 MB / 0.5723 GB, free: 70.03 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.9912, allocations: 0.9375 kB / 0.5723 GB, free: 70.03 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.9912, allocations: 0 / 0.5723 GB, free: 70.03 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001191/0.9924, allocations: 0 / 0.5723 GB, free: 70.03 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.08369/1.076, allocations: 23.19 MB / 0.5949 GB, free: 62.2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/1.076, allocations: 15.55 kB / 0.5949 GB, free: 62.2 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.00057/1.077, allocations: 0.561 MB / 0.5955 GB, free: 62.09 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01418/1.091, allocations: 3.111 MB / 0.5985 GB, free: 61.22 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06544/1.156, allocations: 12.37 MB / 0.6106 GB, free: 55.64 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02345/1.18, allocations: 10.79 MB / 0.6211 GB, free: 46.62 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001171/1.181, allocations: 1.4 MB / 0.6225 GB, free: 45.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007677/1.189, allocations: 1.84 MB / 0.6243 GB, free: 43.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07691/1.266, allocations: 30.86 MB / 0.6544 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007587/1.266, allocations: 28.64 kB / 0.6545 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009668/1.276, allocations: 0.7611 MB / 0.6552 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009146/1.277, allocations: 0.9713 MB / 0.6562 GB, free: 10.78 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06654/1.343, allocations: 27.88 MB / 0.6834 GB, free: 14.87 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1777/1.521, allocations: 91.07 MB / 0.7723 GB, free: 3.66 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2399/1.761, allocations: 17 MB / 0.7889 GB, free: 215.8 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008411/1.769, allocations: 5.562 MB / 0.7944 GB, free: 214.3 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02533/1.795, allocations: 14.94 MB / 0.809 GB, free: 208.5 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/1.795, allocations: 77 kB / 0.809 GB, free: 208.4 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=431): time 5.8e-06/1.795, allocations: 0 / 0.809 GB, free: 208.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=521): time 0.05966/1.854, allocations: 30.51 MB / 0.8388 GB, free: 189.3 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/1.855, allocations: 137.1 kB / 0.8389 GB, free: 189.1 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/1.865, allocations: 7.515 MB / 0.8463 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008576/1.866, allocations: 113.7 kB / 0.8464 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004018/1.87, allocations: 8.875 MB / 0.8551 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001944/1.872, allocations: 1.959 MB / 0.857 GB, free: 170.7 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003166/1.875, allocations: 2.404 MB / 0.8593 GB, free: 168.2 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.38e-05/1.875, allocations: 309.1 kB / 0.8596 GB, free: 167.9 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005885/1.881, allocations: 5.211 MB / 0.8647 GB, free: 162.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007986/1.889, allocations: 10.97 MB / 0.8754 GB, free: 149 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/1.904, allocations: 17.18 MB / 0.8922 GB, free: 129 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001495/1.904, allocations: 56 kB / 0.8923 GB, free: 128.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1497) (initialization): time 0.02821/1.932, allocations: 18.02 MB / 0.9098 GB, free: 110.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.932, allocations: 91.94 kB / 0.9099 GB, free: 110.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002199/1.932, allocations: 201.3 kB / 0.9101 GB, free: 110.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009/1.941, allocations: 3.153 MB / 0.9132 GB, free: 107.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008153/1.949, allocations: 2.527 MB / 0.9157 GB, free: 104.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02438/1.974, allocations: 23.05 MB / 0.9382 GB, free: 81.57 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008752/1.983, allocations: 0.7528 MB / 0.9389 GB, free: 80.82 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002058/1.985, allocations: 0.621 MB / 0.9395 GB, free: 80.2 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 900 * 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 (1325): * Single equations (assignments): 1321 * 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.01187/1.996, allocations: 7.515 MB / 0.9469 GB, free: 72.66 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/1.998, allocations: 0.7024 MB / 0.9476 GB, free: 71.96 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/2.011, allocations: 10.13 MB / 0.9574 GB, free: 61.71 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01002/2.021, allocations: 8.402 MB / 0.9657 GB, free: 53.21 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.61e-05/2.021, allocations: 24 kB / 0.9657 GB, free: 53.18 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.636e-05/2.021, allocations: 23.91 kB / 0.9657 GB, free: 53.16 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03682/2.058, allocations: 24.39 MB / 0.9895 GB, free: 28.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/2.058, allocations: 3.938 kB / 0.9895 GB, free: 28.69 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003115/2.061, allocations: 0.7918 MB / 0.9903 GB, free: 27.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00853/2.07, allocations: 2.857 MB / 0.9931 GB, free: 25.04 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007483/2.071, allocations: 108 kB / 0.9932 GB, free: 24.93 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02207/2.093, allocations: 21.42 MB / 1.014 GB, free: 3.289 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/2.093, allocations: 0 / 1.014 GB, free: 3.289 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2341/2.327, allocations: 14.56 MB / 1.028 GB, free: 192.8 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003693/2.331, allocations: 1.403 MB / 1.03 GB, free: 192.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001544/2.332, allocations: 90 kB / 1.03 GB, free: 192.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003704/2.336, allocations: 332.2 kB / 1.03 GB, free: 192.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/2.337, allocations: 399.7 kB / 1.03 GB, free: 192.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003607/2.337, allocations: 142.6 kB / 1.031 GB, free: 192.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008447/2.346, allocations: 4.943 MB / 1.035 GB, free: 190.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.61e-07/2.346, allocations: 0 / 1.035 GB, free: 190.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01247/2.358, allocations: 2.999 MB / 1.038 GB, free: 190.2 MB / 0.5763 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 (396): * Single equations (assignments): 392 * 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,77.8%), (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.01799/2.376, allocations: 15.31 MB / 1.053 GB, free: 183.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01772/2.394, allocations: 12.47 MB / 1.065 GB, free: 177.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/2.394, allocations: 6.625 kB / 1.066 GB, free: 177.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008183/2.402, allocations: 5.002 MB / 1.07 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008706/2.411, allocations: 1.574 MB / 1.072 GB, free: 171.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1462/2.557, allocations: 107.1 MB / 1.176 GB, free: 61.47 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01656/2.574, allocations: 11.86 MB / 1.188 GB, free: 49.57 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008471/2.582, allocations: 4.01 MB / 1.192 GB, free: 45.55 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008858/2.591, allocations: 6.205 MB / 1.198 GB, free: 39.34 MB / 0.5763 GB Notification: Performance of SimCode: time 1.372e-06/2.591, allocations: 0 / 1.198 GB, free: 39.34 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4611/3.052, allocations: 228.7 MB / 1.421 GB, free: 55.49 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 49.97/53.02, allocations: 7.922 kB / 1.421 GB, free: 55.48 MB / 0.5763 GB " [Timeout remaining time 607] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 56.18319029198028]