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.001426/0.001426, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001686/0.001686, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.458/1.458, allocations: 207.6 MB / 235.3 MB, free: 10 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="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: 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.001911/0.001911, allocations: 50.75 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2686, allocations: 49.16 MB / 396.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03034/0.2989, allocations: 29.72 MB / 426.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01986/0.3188, allocations: 7.461 MB / 433.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007495/0.3263, allocations: 266.9 kB / 433.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03102/0.3573, allocations: 13.31 MB / 447.1 MB, free: 408 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01327/0.3706, allocations: 2.988 MB / 450.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00718/0.3777, allocations: 2.167 MB / 452.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02828/0.406, allocations: 19.18 MB / 471.5 MB, free: 7.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06324/0.4693, allocations: 28.62 MB / 0.4884 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01863/0.4879, allocations: 10.51 MB / 0.4986 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0193/0.5072, allocations: 11.64 MB / 0.51 GB, free: 4.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007571/0.5148, allocations: 2.977 MB / 0.5129 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01105/0.5258, allocations: 3.234 MB / 0.5161 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01096/0.5368, allocations: 5.783 MB / 0.5217 GB, free: 8.891 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02503/0.5618, allocations: 11.22 MB / 0.5327 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4529/1.015, allocations: 39.76 MB / 0.5715 GB, free: 70.13 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/1.015, allocations: 0 / 0.5715 GB, free: 70.13 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.224e-06/1.015, allocations: 0 / 0.5715 GB, free: 70.13 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001134/1.016, allocations: 0.9688 kB / 0.5715 GB, free: 70.13 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.07271/1.089, allocations: 23.19 MB / 0.5941 GB, free: 62.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.089, allocations: 15.52 kB / 0.5942 GB, free: 62.31 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01281/1.101, allocations: 3.113 MB / 0.5972 GB, free: 61.36 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06509/1.166, allocations: 12.37 MB / 0.6093 GB, free: 55.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02883/1.195, allocations: 10.79 MB / 0.6198 GB, free: 47.19 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001259/1.197, allocations: 1.402 MB / 0.6212 GB, free: 45.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008563/1.205, allocations: 1.837 MB / 0.623 GB, free: 43.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08195/1.287, allocations: 30.85 MB / 0.6531 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000838/1.288, allocations: 11.95 kB / 0.6531 GB, free: 13.08 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008939/1.297, allocations: 0.7711 MB / 0.6539 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008587/1.298, allocations: 0.9681 MB / 0.6548 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06207/1.36, allocations: 27.87 MB / 0.682 GB, free: 15.46 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1942/1.554, allocations: 91.06 MB / 0.771 GB, free: 4.262 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3081/1.862, allocations: 16.99 MB / 0.7876 GB, free: 211.4 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00878/1.871, allocations: 5.536 MB / 0.793 GB, free: 210.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02553/1.896, allocations: 14.92 MB / 0.8075 GB, free: 204.6 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/1.896, allocations: 77.34 kB / 0.8076 GB, free: 204.6 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=427): time 6.352e-06/1.896, allocations: 0 / 0.8076 GB, free: 204.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=427): time 0.0296/1.926, allocations: 13.14 MB / 0.8204 GB, free: 200.7 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/1.926, allocations: 120.5 kB / 0.8206 GB, free: 200.6 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/1.938, allocations: 7.511 MB / 0.8279 GB, free: 197 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007854/1.939, allocations: 97.7 kB / 0.828 GB, free: 196.9 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004708/1.944, allocations: 8.87 MB / 0.8366 GB, free: 189.1 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001747/1.945, allocations: 1.623 MB / 0.8382 GB, free: 187.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003858/1.949, allocations: 2.287 MB / 0.8405 GB, free: 185.5 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 6.061e-05/1.949, allocations: 301.1 kB / 0.8408 GB, free: 185.2 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00666/1.956, allocations: 4.707 MB / 0.8454 GB, free: 181.3 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009091/1.965, allocations: 10.4 MB / 0.8555 GB, free: 168.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01635/1.981, allocations: 15.99 MB / 0.8711 GB, free: 149.7 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000194/1.982, allocations: 56 kB / 0.8712 GB, free: 149.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02471/2.006, allocations: 16 MB / 0.8868 GB, free: 133.7 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/2.006, allocations: 93.19 kB / 0.8869 GB, free: 133.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002376/2.007, allocations: 199.9 kB / 0.8871 GB, free: 133.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005075/2.012, allocations: 1.692 MB / 0.8887 GB, free: 131.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007855/2.02, allocations: 2.503 MB / 0.8912 GB, free: 129.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/2.032, allocations: 11.44 MB / 0.9024 GB, free: 117.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008939/2.041, allocations: 1.587 MB / 0.9039 GB, free: 116 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001735/2.043, allocations: 0.5976 MB / 0.9045 GB, free: 115.4 MB / 0.5763 GB 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.01205/2.055, allocations: 7.398 MB / 0.9117 GB, free: 108 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/2.056, allocations: 0.6636 MB / 0.9124 GB, free: 107.3 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/2.068, allocations: 8.053 MB / 0.9202 GB, free: 99.25 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007853/2.076, allocations: 6.447 MB / 0.9265 GB, free: 92.79 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/2.076, allocations: 16 kB / 0.9265 GB, free: 92.77 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.759e-05/2.076, allocations: 24.03 kB / 0.9266 GB, free: 92.75 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03633/2.113, allocations: 20.83 MB / 0.9469 GB, free: 71.93 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/2.113, allocations: 8.062 kB / 0.9469 GB, free: 71.93 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003194/2.116, allocations: 0.7684 MB / 0.9477 GB, free: 71.16 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004949/2.121, allocations: 1.45 MB / 0.9491 GB, free: 69.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006714/2.122, allocations: 99.91 kB / 0.9492 GB, free: 69.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/2.134, allocations: 11.05 MB / 0.96 GB, free: 58.45 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/2.134, allocations: 7.984 kB / 0.96 GB, free: 58.45 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/2.149, allocations: 11.71 MB / 0.9714 GB, free: 46.68 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00398/2.153, allocations: 1.307 MB / 0.9727 GB, free: 45.37 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001624/2.155, allocations: 76 kB / 0.9727 GB, free: 45.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003557/2.158, allocations: 303.6 kB / 0.973 GB, free: 45 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000757/2.159, allocations: 315.6 kB / 0.9733 GB, free: 44.69 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002823/2.159, allocations: 120 kB / 0.9734 GB, free: 44.57 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008136/2.168, allocations: 4.926 MB / 0.9783 GB, free: 39.66 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.3e-07/2.168, allocations: 4 kB / 0.9783 GB, free: 39.66 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01368/2.181, allocations: 4.234 MB / 0.9824 GB, free: 35.41 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 (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.01559/2.197, allocations: 12.44 MB / 0.9945 GB, free: 22.91 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01557/2.212, allocations: 10.54 MB / 1.005 GB, free: 12.39 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/2.212, allocations: 0 / 1.005 GB, free: 12.39 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006264/2.219, allocations: 3.666 MB / 1.008 GB, free: 8.711 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008223/2.227, allocations: 1.546 MB / 1.01 GB, free: 7.16 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3864/2.613, allocations: 100.3 MB / 1.108 GB, free: 154.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02032/2.634, allocations: 11.62 MB / 1.119 GB, free: 143.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0101/2.644, allocations: 3.973 MB / 1.123 GB, free: 139.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01024/2.654, allocations: 6.119 MB / 1.129 GB, free: 133.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.453e-06/2.654, allocations: 0 / 1.129 GB, free: 133.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5596/3.214, allocations: 210.6 MB / 1.335 GB, free: 168.7 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.72/32.94, allocations: 0.6562 kB / 1.335 GB, free: 168.7 MB / 0.5763 GB " [Timeout remaining time 627] (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: 36.14729104982689]