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.001954/0.001954, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002264/0.002264, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.418/1.418, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.00184/0.00184, allocations: 63.84 kB / 347.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3028, allocations: 49.15 MB / 396.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03094/0.3337, allocations: 25.26 MB / 421.6 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02361/0.3573, allocations: 7.292 MB / 428.9 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009215/0.3665, allocations: 266.2 kB / 429.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03305/0.3996, allocations: 12.27 MB / 441.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01718/0.4168, allocations: 2.956 MB / 444.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008466/0.4252, allocations: 2.097 MB / 446.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.03218/0.4574, allocations: 19.17 MB / 465.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06803/0.5254, allocations: 28.35 MB / 494 MB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02328/0.5487, allocations: 10.53 MB / 0.4927 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02431/0.573, allocations: 11.36 MB / 0.5038 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01063/0.5836, allocations: 2.973 MB / 0.5067 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01282/0.5965, allocations: 3.219 MB / 0.5099 GB, free: 4.855 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01188/0.6083, allocations: 5.779 MB / 0.5155 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02284/0.6312, allocations: 8.694 MB / 0.524 GB, free: 6.336 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4752/1.106, allocations: 39.94 MB / 0.563 GB, free: 66.53 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/1.106, allocations: 5.312 kB / 0.563 GB, free: 66.53 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.316e-06/1.106, allocations: 0.5625 kB / 0.563 GB, free: 66.53 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001182/1.108, allocations: 0 / 0.563 GB, free: 66.53 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.07771/1.185, allocations: 23.19 MB / 0.5856 GB, free: 60.72 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/1.185, allocations: 14.64 kB / 0.5857 GB, free: 60.72 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01384/1.199, allocations: 3.121 MB / 0.5887 GB, free: 60.51 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.067/1.266, allocations: 12.37 MB / 0.6008 GB, free: 57.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02538/1.292, allocations: 10.78 MB / 0.6113 GB, free: 52.72 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001477/1.293, allocations: 1.406 MB / 0.6127 GB, free: 51.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009258/1.302, allocations: 1.835 MB / 0.6145 GB, free: 49.56 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08085/1.383, allocations: 31.11 MB / 0.6449 GB, free: 18.37 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008407/1.384, allocations: 18.67 kB / 0.6449 GB, free: 18.35 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006836/1.391, allocations: 0.7665 MB / 0.6456 GB, free: 17.6 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009005/1.392, allocations: 0.9685 MB / 0.6466 GB, free: 16.63 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06091/1.453, allocations: 27.77 MB / 0.6737 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1793/1.632, allocations: 83.56 MB / 0.7553 GB, free: 1.145 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0305/1.662, allocations: 16.88 MB / 0.7718 GB, free: 4.223 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01119/1.674, allocations: 5.534 MB / 0.7772 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03211/1.706, allocations: 13.93 MB / 0.7908 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.068e-05/1.706, allocations: 81.84 kB / 0.7909 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=427): time 7.534e-06/1.706, allocations: 0 / 0.7909 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of matching and sorting (n=427): time 0.2441/1.95, allocations: 13.14 MB / 0.8037 GB, free: 229 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/1.95, allocations: 120.2 kB / 0.8038 GB, free: 228.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01163/1.962, allocations: 7.854 MB / 0.8115 GB, free: 226.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000804/1.962, allocations: 93.33 kB / 0.8116 GB, free: 226.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004509/1.967, allocations: 8.873 MB / 0.8202 GB, free: 219.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001616/1.969, allocations: 1.621 MB / 0.8218 GB, free: 218.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003213/1.972, allocations: 2.29 MB / 0.8241 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.092e-05/1.972, allocations: 306 kB / 0.8244 GB, free: 217.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00636/1.978, allocations: 4.701 MB / 0.829 GB, free: 215.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008535/1.987, allocations: 10.44 MB / 0.8391 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01437/2.001, allocations: 15.99 MB / 0.8548 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002169/2.001, allocations: 62.95 kB / 0.8548 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.026/2.027, allocations: 15.99 MB / 0.8704 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002974/2.028, allocations: 92 kB / 0.8705 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000395/2.028, allocations: 196 kB / 0.8707 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005349/2.033, allocations: 1.696 MB / 0.8724 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008262/2.042, allocations: 2.503 MB / 0.8748 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/2.056, allocations: 11.23 MB / 0.8858 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/2.067, allocations: 1.59 MB / 0.8873 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002217/2.069, allocations: 0.6015 MB / 0.8879 GB, free: 161.5 MB / 0.5919 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.01335/2.082, allocations: 7.383 MB / 0.8951 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001837/2.084, allocations: 0.6636 MB / 0.8958 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/2.096, allocations: 8.058 MB / 0.9036 GB, free: 145.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007802/2.104, allocations: 6.449 MB / 0.9099 GB, free: 138.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/2.104, allocations: 16 kB / 0.91 GB, free: 138.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.73e-05/2.104, allocations: 19.92 kB / 0.91 GB, free: 138.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03593/2.14, allocations: 20.07 MB / 0.9296 GB, free: 118.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/2.14, allocations: 4 kB / 0.9296 GB, free: 118.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002941/2.143, allocations: 0.7645 MB / 0.9303 GB, free: 118.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004441/2.147, allocations: 1.455 MB / 0.9317 GB, free: 116.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005329/2.148, allocations: 91.97 kB / 0.9318 GB, free: 116.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/2.16, allocations: 10.84 MB / 0.9424 GB, free: 105.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/2.16, allocations: 4 kB / 0.9424 GB, free: 105.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0141/2.174, allocations: 11.7 MB / 0.9538 GB, free: 93.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003779/2.177, allocations: 1.312 MB / 0.9551 GB, free: 92.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001386/2.179, allocations: 79.94 kB / 0.9552 GB, free: 92.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003011/2.182, allocations: 307.7 kB / 0.9555 GB, free: 92.12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005777/2.182, allocations: 315.6 kB / 0.9558 GB, free: 91.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/2.183, allocations: 120 kB / 0.9559 GB, free: 91.69 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006031/2.189, allocations: 4.93 MB / 0.9607 GB, free: 86.78 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/2.189, allocations: 0 / 0.9607 GB, free: 86.78 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01195/2.201, allocations: 4.238 MB / 0.9649 GB, free: 82.52 MB / 0.5919 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.01528/2.216, allocations: 12.44 MB / 0.977 GB, free: 70.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01461/2.231, allocations: 10.53 MB / 0.9873 GB, free: 59.53 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/2.231, allocations: 3.938 kB / 0.9873 GB, free: 59.53 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00551/2.236, allocations: 3.659 MB / 0.9909 GB, free: 55.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0075/2.244, allocations: 1.548 MB / 0.9924 GB, free: 54.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3813/2.625, allocations: 100.3 MB / 1.09 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01893/2.644, allocations: 11.3 MB / 1.101 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0094/2.653, allocations: 3.987 MB / 1.105 GB, free: 184.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008684/2.662, allocations: 6.116 MB / 1.111 GB, free: 179 MB / 0.5919 GB Notification: Performance of SimCode: time 1.352e-06/2.662, allocations: 0 / 1.111 GB, free: 179 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5291/3.191, allocations: 208 MB / 1.314 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.1/26.29, allocations: 4.547 kB / 1.314 GB, free: 177.7 MB / 0.5919 GB " [Timeout remaining time 633] (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: 29.49928927887231]