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.001219/0.001219, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005777/0.005777, allocations: 162.6 kB / 24.69 MB, free: 9.402 MB / 18.57 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 0.8582/0.8582, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.677e-05, allocations: 6.219 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.1549/0.1549, allocations: 25.28 MB / 323.7 MB, free: 192 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01572/0.1706, allocations: 7.287 MB / 331 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004683/0.1753, allocations: 263.2 kB / 331.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01416/0.1895, allocations: 13 MB / 344.3 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009499/0.199, allocations: 3.033 MB / 347.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003919/0.2029, allocations: 2.097 MB / 349.4 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01653/0.2194, allocations: 19.76 MB / 369.2 MB, free: 7.918 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03597/0.2554, allocations: 28.4 MB / 397.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02454/0.2799, allocations: 15.58 MB / 413.2 MB, free: 11.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01343/0.2934, allocations: 10.23 MB / 423.4 MB, free: 1.438 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004668/0.298, allocations: 2.973 MB / 426.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005631/0.3037, allocations: 3.249 MB / 429.6 MB, free: 11.21 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003946/0.3076, allocations: 5.872 MB / 435.5 MB, free: 5.328 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009878/0.3175, allocations: 7.501 MB / 443 MB, free: 13.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3439/0.6614, allocations: 40.18 MB / 483.2 MB, free: 61.61 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/0.6614, allocations: 0.8125 kB / 483.2 MB, free: 61.61 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6614, allocations: 0.8125 kB / 483.2 MB, free: 61.61 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001063/0.6625, allocations: 0.75 kB / 483.2 MB, free: 61.61 MB / 410.8 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.05573/0.7182, allocations: 23.02 MB / 0.4943 GB, free: 49.49 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.7183, allocations: 15.77 kB / 0.4943 GB, free: 49.48 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006664/0.7249, allocations: 3.114 MB / 0.4974 GB, free: 47.57 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03147/0.7564, allocations: 12.37 MB / 0.5095 GB, free: 40.22 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01959/0.776, allocations: 10.79 MB / 0.52 GB, free: 29.91 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006358/0.7766, allocations: 1.397 MB / 0.5214 GB, free: 28.53 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007112/0.7837, allocations: 1.835 MB / 0.5231 GB, free: 26.71 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05345/0.8372, allocations: 31.1 MB / 0.5535 GB, free: 11.52 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002745/0.8375, allocations: 23.55 kB / 0.5535 GB, free: 11.5 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001925/0.8394, allocations: 0.7599 MB / 0.5543 GB, free: 10.75 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00063/0.84, allocations: 0.9685 MB / 0.5552 GB, free: 9.777 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04576/0.8858, allocations: 27.77 MB / 0.5824 GB, free: 13.97 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2803/1.166, allocations: 83.61 MB / 0.664 GB, free: 121 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/1.179, allocations: 16.88 MB / 0.6805 GB, free: 120.4 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00448/1.184, allocations: 5.544 MB / 0.6859 GB, free: 120.3 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01447/1.198, allocations: 13.93 MB / 0.6995 GB, free: 115.3 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/1.198, allocations: 77.78 kB / 0.6996 GB, free: 115.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=427): time 5.511e-06/1.198, allocations: 4 kB / 0.6996 GB, free: 115.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=427): time 0.01701/1.215, allocations: 13.15 MB / 0.7124 GB, free: 106.2 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/1.215, allocations: 124.5 kB / 0.7125 GB, free: 106 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007993/1.223, allocations: 7.846 MB / 0.7202 GB, free: 98.18 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003235/1.223, allocations: 93.7 kB / 0.7203 GB, free: 98.08 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002621/1.226, allocations: 8.829 MB / 0.7289 GB, free: 89.25 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007038/1.227, allocations: 1.616 MB / 0.7305 GB, free: 87.65 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001947/1.229, allocations: 2.261 MB / 0.7327 GB, free: 85.38 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.368e-05/1.229, allocations: 301.1 kB / 0.733 GB, free: 85.08 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003834/1.233, allocations: 4.702 MB / 0.7376 GB, free: 80.38 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005609/1.238, allocations: 10.43 MB / 0.7478 GB, free: 67.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0096/1.248, allocations: 15.99 MB / 0.7634 GB, free: 48.56 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.886e-05/1.248, allocations: 56 kB / 0.7634 GB, free: 48.5 MB / 490.8 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.01737/1.265, allocations: 16 MB / 0.7791 GB, free: 32.49 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/1.265, allocations: 88.19 kB / 0.7791 GB, free: 32.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/1.266, allocations: 200 kB / 0.7793 GB, free: 32.21 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/1.268, allocations: 1.692 MB / 0.781 GB, free: 30.51 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004007/1.272, allocations: 2.511 MB / 0.7834 GB, free: 28 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007888/1.28, allocations: 11.21 MB / 0.7944 GB, free: 16.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005945/1.286, allocations: 1.587 MB / 0.7959 GB, free: 15.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006268/1.287, allocations: 0.5976 MB / 0.7965 GB, free: 14.49 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1312): * Single equations (assignments): 1309 * 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.00974/1.296, allocations: 7.402 MB / 0.8038 GB, free: 7.066 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008766/1.297, allocations: 0.6597 MB / 0.8044 GB, free: 6.402 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008279/1.305, allocations: 8.063 MB / 0.8123 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006621/1.312, allocations: 6.453 MB / 0.8186 GB, free: 7.836 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/1.312, allocations: 12 kB / 0.8186 GB, free: 7.824 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.397e-05/1.312, allocations: 19.92 kB / 0.8186 GB, free: 7.805 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2174/1.53, allocations: 20.07 MB / 0.8382 GB, free: 160.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.53, allocations: 0 / 0.8382 GB, free: 160.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/1.531, allocations: 0.7712 MB / 0.839 GB, free: 160.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002417/1.534, allocations: 1.455 MB / 0.8404 GB, free: 160.1 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/1.534, allocations: 85.98 kB / 0.8405 GB, free: 160.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007807/1.542, allocations: 10.84 MB / 0.851 GB, free: 156.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.542, allocations: 3.969 kB / 0.851 GB, free: 156.1 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009806/1.551, allocations: 11.71 MB / 0.8625 GB, free: 151.5 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002856/1.554, allocations: 1.31 MB / 0.8638 GB, free: 150.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005962/1.555, allocations: 75.44 kB / 0.8638 GB, free: 150.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.556, allocations: 306.3 kB / 0.8641 GB, free: 150.7 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004811/1.557, allocations: 312.7 kB / 0.8644 GB, free: 150.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/1.557, allocations: 122.2 kB / 0.8645 GB, free: 150.6 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005339/1.562, allocations: 4.927 MB / 0.8693 GB, free: 148.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.2e-07/1.562, allocations: 2 kB / 0.8694 GB, free: 148.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01027/1.573, allocations: 4.246 MB / 0.8735 GB, free: 144.9 MB / 0.4949 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 (381): * Single equations (assignments): 378 * 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.01016/1.583, allocations: 12.42 MB / 0.8856 GB, free: 134 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.011/1.594, allocations: 10.53 MB / 0.8959 GB, free: 125 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/1.594, allocations: 6.844 kB / 0.8959 GB, free: 125 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003315/1.597, allocations: 3.663 MB / 0.8995 GB, free: 121.8 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004316/1.601, allocations: 1.54 MB / 0.901 GB, free: 120.5 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.102/1.703, allocations: 100.1 MB / 0.9988 GB, free: 13.38 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008789/1.712, allocations: 11.3 MB / 1.01 GB, free: 2.027 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.1644/1.877, allocations: 3.979 MB / 1.014 GB, free: 174 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008175/1.885, allocations: 6.119 MB / 1.02 GB, free: 173.3 MB / 0.4949 GB Notification: Performance of SimCode: time 1.303e-06/1.885, allocations: 0 / 1.02 GB, free: 173.3 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3713/2.256, allocations: 207.6 MB / 1.222 GB, free: 119.2 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/16.65, allocations: 15.78 kB / 1.222 GB, free: 119.2 MB / 0.4949 GB " [Timeout remaining time 643] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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: 18.69338192138821]