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.001254/0.001254, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001486/0.001486, allocations: 192.8 kB / 24.5 MB, free: 4.02 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.396/1.396, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 39.94 kB / 371.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2988, allocations: 52.19 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.032/0.3308, allocations: 28.77 MB / 452.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01635/0.3471, allocations: 7.152 MB / 459.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006664/0.3538, allocations: 314.4 kB / 459.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02946/0.3833, allocations: 13.24 MB / 472.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.3954, allocations: 2.8 MB / 475.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007006/0.4024, allocations: 1.901 MB / 477.6 MB, free: 8.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02539/0.4278, allocations: 18.37 MB / 496 MB, free: 5.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06275/0.4906, allocations: 28.4 MB / 0.5121 GB, free: 9.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01831/0.5089, allocations: 10.16 MB / 0.522 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01969/0.5286, allocations: 11.14 MB / 0.5329 GB, free: 3.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007987/0.5365, allocations: 2.922 MB / 0.5357 GB, free: 0.918 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3969/0.9334, allocations: 3.164 MB / 0.5388 GB, free: 41.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007586/0.941, allocations: 5.491 MB / 0.5442 GB, free: 41.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01791/0.9589, allocations: 10.82 MB / 0.5547 GB, free: 40.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03615/0.995, allocations: 39.08 MB / 0.5929 GB, free: 19.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.9951, allocations: 4.812 kB / 0.5929 GB, free: 19.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.9951, allocations: 0 / 0.5929 GB, free: 19.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001082/0.9961, allocations: 4.188 kB / 0.5929 GB, free: 19.6 MB / 446.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.06226/1.058, allocations: 22.23 MB / 0.6146 GB, free: 4.203 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/1.058, allocations: 16.02 kB / 0.6146 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0008021/1.059, allocations: 0.53 MB / 0.6152 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01085/1.07, allocations: 2.973 MB / 0.6181 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04629/1.116, allocations: 8.406 MB / 0.6263 GB, free: 8.332 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02872/1.145, allocations: 11.88 MB / 0.6379 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001901/1.147, allocations: 1.344 MB / 0.6392 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009383/1.156, allocations: 1.755 MB / 0.6409 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08606/1.242, allocations: 28.74 MB / 0.669 GB, free: 13.01 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007081/1.243, allocations: 23.89 kB / 0.669 GB, free: 12.99 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006269/1.249, allocations: 0.7268 MB / 0.6697 GB, free: 12.27 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009457/1.25, allocations: 0.8454 MB / 0.6705 GB, free: 11.43 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06001/1.31, allocations: 24.79 MB / 0.6947 GB, free: 2.613 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3952/1.706, allocations: 85.99 MB / 0.7787 GB, free: 141.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01882/1.724, allocations: 12.84 MB / 0.7912 GB, free: 141 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006861/1.731, allocations: 5.045 MB / 0.7962 GB, free: 140.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003833/1.732, allocations: 129.9 kB / 0.7963 GB, free: 140.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/1.732, allocations: 92.83 kB / 0.7964 GB, free: 140.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=585): time 7.504e-06/1.732, allocations: 0 / 0.7964 GB, free: 140.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=681): time 0.06746/1.799, allocations: 34.06 MB / 0.8296 GB, free: 126.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/1.799, allocations: 155.1 kB / 0.8298 GB, free: 126 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008965/1.808, allocations: 6.425 MB / 0.8361 GB, free: 120.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001091/1.809, allocations: 129.7 kB / 0.8362 GB, free: 120.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003584/1.813, allocations: 7.906 MB / 0.8439 GB, free: 112.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002437/1.815, allocations: 2.468 MB / 0.8463 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00321/1.819, allocations: 2.219 MB / 0.8485 GB, free: 107.6 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.323e-05/1.819, allocations: 301.1 kB / 0.8488 GB, free: 107.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006688/1.825, allocations: 5.295 MB / 0.8539 GB, free: 102 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01044/1.836, allocations: 10.07 MB / 0.8638 GB, free: 89.76 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01629/1.852, allocations: 16.59 MB / 0.88 GB, free: 70.91 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001217/1.852, allocations: 48 kB / 0.88 GB, free: 70.86 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.02523/1.877, allocations: 17.48 MB / 0.8971 GB, free: 53.32 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.962e-05/1.877, allocations: 72 kB / 0.8972 GB, free: 53.25 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001948/1.878, allocations: 160.6 kB / 0.8973 GB, free: 53.09 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009376/1.887, allocations: 3.13 MB / 0.9004 GB, free: 49.95 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007865/1.895, allocations: 2.383 MB / 0.9027 GB, free: 47.56 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02459/1.919, allocations: 23.24 MB / 0.9254 GB, free: 24.12 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008287/1.928, allocations: 0.6591 MB / 0.926 GB, free: 23.46 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001882/1.93, allocations: 0.5508 MB / 0.9266 GB, free: 22.91 MB / 0.5607 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 (1262): * Single equations (assignments): 1258 * 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.01185/1.941, allocations: 7.274 MB / 0.9337 GB, free: 15.61 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/1.943, allocations: 0.6753 MB / 0.9343 GB, free: 14.93 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01641/1.959, allocations: 12.42 MB / 0.9465 GB, free: 2.422 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01645/1.976, allocations: 9.814 MB / 0.9561 GB, free: 8.535 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.822e-05/1.976, allocations: 24 kB / 0.9561 GB, free: 8.512 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001012/1.976, allocations: 39.88 kB / 0.9561 GB, free: 8.473 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2988/2.275, allocations: 30.12 MB / 0.9855 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.647e-05/2.275, allocations: 12.47 kB / 0.9855 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004377/2.279, allocations: 1.055 MB / 0.9866 GB, free: 176.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009597/2.289, allocations: 2.873 MB / 0.9894 GB, free: 176.1 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001224/2.29, allocations: 144.5 kB / 0.9895 GB, free: 176 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02672/2.317, allocations: 21.5 MB / 1.011 GB, free: 164.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.496e-05/2.317, allocations: 24.12 kB / 1.011 GB, free: 164.6 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02304/2.34, allocations: 17.22 MB / 1.027 GB, free: 154.5 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004356/2.344, allocations: 1.513 MB / 1.029 GB, free: 153.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001723/2.346, allocations: 131.8 kB / 1.029 GB, free: 153.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004324/2.35, allocations: 345.6 kB / 1.029 GB, free: 153.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/2.351, allocations: 0.519 MB / 1.03 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003783/2.351, allocations: 195.5 kB / 1.03 GB, free: 152.7 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006811/2.358, allocations: 4.304 MB / 1.034 GB, free: 149.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.1e-07/2.358, allocations: 0 / 1.034 GB, free: 149.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01278/2.371, allocations: 2.945 MB / 1.037 GB, free: 146.1 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * 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 (553): * Single equations (assignments): 549 * 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,75.0%), (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.0233/2.394, allocations: 18.04 MB / 1.055 GB, free: 128 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01778/2.412, allocations: 12.97 MB / 1.067 GB, free: 115 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/2.412, allocations: 4 kB / 1.067 GB, free: 115 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008574/2.421, allocations: 5.71 MB / 1.073 GB, free: 109.2 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01046/2.431, allocations: 1.603 MB / 1.074 GB, free: 107.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1671/2.598, allocations: 102 MB / 1.174 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02571/2.624, allocations: 11.51 MB / 1.185 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.2569/2.881, allocations: 3.805 MB / 1.189 GB, free: 205.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009654/2.89, allocations: 5.974 MB / 1.195 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.633e-06/2.89, allocations: 3.406 kB / 1.195 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5326/3.423, allocations: 231.2 MB / 1.421 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 49.26/52.69, allocations: 21.02 kB / 1.421 GB, free: 140.8 MB / 0.5919 GB " [Timeout remaining time 607] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 55.881368086033035]