Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001436/0.001436, allocations: 113 kB / 18.49 MB, free: 4.539 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.001575/0.001575, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 48.02 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1065, allocations: 53.34 MB / 427 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2292/0.3357, allocations: 28.72 MB / 455.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01809/0.3538, allocations: 7.215 MB / 463 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008406/0.3622, allocations: 315.4 kB / 463.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03009/0.3923, allocations: 13.21 MB / 476.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01194/0.4042, allocations: 2.567 MB / 479 MB, free: 8.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007416/0.4116, allocations: 2.029 MB / 481.1 MB, free: 7.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02473/0.4364, allocations: 18.3 MB / 499.4 MB, free: 8.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06821/0.5046, allocations: 34.26 MB / 0.5211 GB, free: 5.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01788/0.5225, allocations: 10.12 MB / 0.531 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0192/0.5417, allocations: 11.11 MB / 0.5419 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008265/0.5499, allocations: 2.918 MB / 0.5447 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01257/0.5625, allocations: 3.211 MB / 0.5478 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01014/0.5726, allocations: 5.499 MB / 0.5532 GB, free: 5.043 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02085/0.5935, allocations: 10.81 MB / 0.5638 GB, free: 10.19 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05188/0.6454, allocations: 39.11 MB / 0.602 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.6454, allocations: 4 kB / 0.602 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6454, allocations: 0 / 0.602 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001033/0.6464, allocations: 0 / 0.602 GB, free: 2.953 MB / 0.4981 GB 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.48/1.126, allocations: 22.31 MB / 0.6237 GB, free: 135.6 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.126, allocations: 9.781 kB / 0.6238 GB, free: 135.6 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0007311/1.127, allocations: 0.5318 MB / 0.6243 GB, free: 135.5 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01078/1.138, allocations: 2.963 MB / 0.6272 GB, free: 134.1 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04592/1.184, allocations: 8.247 MB / 0.6352 GB, free: 132.7 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02379/1.208, allocations: 11.69 MB / 0.6466 GB, free: 127.4 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001396/1.209, allocations: 1.341 MB / 0.648 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006684/1.216, allocations: 1.76 MB / 0.6497 GB, free: 126.2 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06569/1.281, allocations: 28.78 MB / 0.6778 GB, free: 102.5 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007777/1.282, allocations: 23.89 kB / 0.6778 GB, free: 102.4 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00535/1.288, allocations: 0.7257 MB / 0.6785 GB, free: 101.7 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005673/1.288, allocations: 0.8454 MB / 0.6793 GB, free: 100.9 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04541/1.334, allocations: 24.85 MB / 0.7036 GB, free: 76 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1257/1.459, allocations: 87.55 MB / 0.7891 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03425/1.493, allocations: 34.6 MB / 0.8229 GB, free: 13.81 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00976/1.503, allocations: 5.071 MB / 0.8278 GB, free: 8.727 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00071/1.504, allocations: 330.5 kB / 0.8282 GB, free: 8.363 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.444e-05/1.504, allocations: 95.14 kB / 0.8282 GB, free: 8.258 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=585): time 7.544e-06/1.504, allocations: 0 / 0.8282 GB, free: 8.258 MB / 0.5763 GB Notification: Performance of matching and sorting (n=681): time 0.4978/2.002, allocations: 34.28 MB / 0.8617 GB, free: 193.2 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/2.002, allocations: 146.7 kB / 0.8619 GB, free: 193.1 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/2.013, allocations: 6.431 MB / 0.8681 GB, free: 190.9 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.001172/2.014, allocations: 131.7 kB / 0.8683 GB, free: 190.8 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.00533/2.019, allocations: 7.902 MB / 0.876 GB, free: 185.6 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002516/2.022, allocations: 2.463 MB / 0.8784 GB, free: 183.7 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003176/2.025, allocations: 2.243 MB / 0.8806 GB, free: 182.7 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 4.476e-05/2.025, allocations: 306.2 kB / 0.8809 GB, free: 182.4 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007248/2.032, allocations: 5.289 MB / 0.886 GB, free: 180.4 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009186/2.041, allocations: 10.09 MB / 0.8959 GB, free: 172.2 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01657/2.058, allocations: 16.61 MB / 0.9121 GB, free: 160.5 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001687/2.058, allocations: 46.94 kB / 0.9122 GB, free: 160.5 MB / 0.592 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.02784/2.086, allocations: 17.53 MB / 0.9293 GB, free: 153.5 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/2.086, allocations: 73.25 kB / 0.9293 GB, free: 153.5 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002644/2.086, allocations: 161.8 kB / 0.9295 GB, free: 153.5 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009375/2.096, allocations: 3.118 MB / 0.9325 GB, free: 152.8 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007726/2.104, allocations: 2.399 MB / 0.9349 GB, free: 150.9 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02532/2.129, allocations: 23.44 MB / 0.9578 GB, free: 128.6 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009078/2.138, allocations: 0.6552 MB / 0.9584 GB, free: 128 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001851/2.14, allocations: 0.5585 MB / 0.959 GB, free: 127.4 MB / 0.592 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.009739/2.15, allocations: 7.278 MB / 0.9661 GB, free: 120.1 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/2.151, allocations: 0.6752 MB / 0.9667 GB, free: 119.4 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/2.166, allocations: 12.41 MB / 0.9788 GB, free: 107 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01124/2.177, allocations: 9.857 MB / 0.9885 GB, free: 97.05 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.842e-05/2.177, allocations: 24 kB / 0.9885 GB, free: 97.02 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.977e-05/2.177, allocations: 39.84 kB / 0.9885 GB, free: 96.98 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04358/2.221, allocations: 30.52 MB / 1.018 GB, free: 66.11 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.288e-05/2.221, allocations: 8 kB / 1.018 GB, free: 66.1 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003956/2.225, allocations: 1.065 MB / 1.019 GB, free: 65.03 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008604/2.233, allocations: 2.885 MB / 1.022 GB, free: 62.13 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001086/2.235, allocations: 152 kB / 1.022 GB, free: 61.98 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02194/2.257, allocations: 21.71 MB / 1.044 GB, free: 40.01 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.208e-06/2.257, allocations: 15.94 kB / 1.044 GB, free: 39.99 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01984/2.276, allocations: 17.26 MB / 1.06 GB, free: 22.37 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003902/2.28, allocations: 1.55 MB / 1.062 GB, free: 20.79 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001602/2.282, allocations: 130.5 kB / 1.062 GB, free: 20.67 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003662/2.286, allocations: 343.7 kB / 1.062 GB, free: 20.33 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00105/2.287, allocations: 0.4976 MB / 1.063 GB, free: 19.83 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003779/2.287, allocations: 200 kB / 1.063 GB, free: 19.64 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.006103/2.293, allocations: 4.309 MB / 1.067 GB, free: 15.36 MB / 0.592 GB Notification: Performance of sort global known variables: time 9.1e-08/2.293, allocations: 0 / 1.067 GB, free: 15.36 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.2492/2.542, allocations: 2.941 MB / 1.07 GB, free: 178.6 MB / 0.592 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.03075/2.573, allocations: 18.06 MB / 1.088 GB, free: 175.6 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.02003/2.593, allocations: 13 MB / 1.1 GB, free: 170.6 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/2.593, allocations: 3.625 kB / 1.1 GB, free: 170.6 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.007953/2.601, allocations: 5.742 MB / 1.106 GB, free: 168.2 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007673/2.609, allocations: 1.599 MB / 1.108 GB, free: 167.7 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1427/2.751, allocations: 101.6 MB / 1.207 GB, free: 80.41 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02146/2.773, allocations: 11.52 MB / 1.218 GB, free: 68.85 MB / 0.592 GB Notification: Performance of simCode: alias equations: time 0.009035/2.782, allocations: 3.809 MB / 1.222 GB, free: 65.04 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009792/2.792, allocations: 6.006 MB / 1.228 GB, free: 59.03 MB / 0.592 GB Notification: Performance of SimCode: time 1.072e-06/2.792, allocations: 4 kB / 1.228 GB, free: 59.02 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5318/3.323, allocations: 227.4 MB / 1.45 GB, free: 72.23 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate platform static: time 47.44/50.76, allocations: 6.312 kB / 1.45 GB, free: 72.23 MB / 0.6077 GB " [Timeout remaining time 609] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 53.95650890201796]