Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.001489/0.001489, allocations: 120.8 kB / 17.79 MB, free: 5.285 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.001269/0.001269, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.394/1.394, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 47.92 kB / 365.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1065, allocations: 52.15 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009781/0.1163, allocations: 7.806 MB / 425.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005694/0.122, allocations: 2.664 MB / 428.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.1233, allocations: 67.69 kB / 428.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.1247, allocations: 0.5819 MB / 428.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.1268, allocations: 0.7575 MB / 429.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009182/0.1278, allocations: 411.4 kB / 430.1 MB, free: 280 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003641/0.1314, allocations: 3.284 MB / 433.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003306/0.1347, allocations: 2.652 MB / 436 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003087/0.1378, allocations: 1.668 MB / 437.7 MB, free: 8.605 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003346/0.1411, allocations: 2.071 MB / 439.7 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000825/0.142, allocations: 468 kB / 440.2 MB, free: 6.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.1435, allocations: 0.6831 MB / 440.9 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00135/0.1449, allocations: 1.255 MB / 442.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002642/0.1475, allocations: 1.972 MB / 444.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2175/0.365, allocations: 6.115 MB / 450.2 MB, free: 16.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.365, allocations: 0 / 450.2 MB, free: 16.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.365, allocations: 0.6562 kB / 450.2 MB, free: 16.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001745/0.3652, allocations: 0 / 450.2 MB, free: 16.09 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.00992/0.3751, allocations: 3.888 MB / 454.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3752, allocations: 8.438 kB / 454.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007565/0.3759, allocations: 430.9 kB / 454.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.3772, allocations: 408 kB / 454.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004572/0.3817, allocations: 2.172 MB / 457.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.3819, allocations: 223.2 kB / 457.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005469/0.3825, allocations: 285.3 kB / 457.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008592/0.3911, allocations: 4.185 MB / 461.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.137e-05/0.3911, allocations: 5.406 kB / 461.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003206/0.3914, allocations: 118.5 kB / 461.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/0.3916, allocations: 144.9 kB / 462.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006224/0.3979, allocations: 3.49 MB / 465.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01907/0.4169, allocations: 10.8 MB / 476.3 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.4193, allocations: 2.543 MB / 478.9 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.4213, allocations: 1.417 MB / 480.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.4215, allocations: 125.5 kB / 480.4 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.4216, allocations: 51.09 kB / 480.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.787e-06/0.4216, allocations: 4 kB / 480.5 MB, free: 2.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.008333/0.4299, allocations: 5.196 MB / 485.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.43, allocations: 92.17 kB / 485.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003149/0.4331, allocations: 1.909 MB / 487.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002748/0.4334, allocations: 49.45 kB / 487.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.4346, allocations: 1.357 MB / 489.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004579/0.435, allocations: 482.7 kB / 489.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004235/0.4354, allocations: 278.5 kB / 489.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4356, allocations: 305.1 kB / 490.1 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.4368, allocations: 0.82 MB / 490.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.4384, allocations: 1.174 MB / 492.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002942/0.4413, allocations: 2.089 MB / 494.2 MB, free: 8.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4413, allocations: 0 / 494.2 MB, free: 8.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004514/0.4458, allocations: 2.518 MB / 496.7 MB, free: 6.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.4459, allocations: 17.66 kB / 496.7 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.4459, allocations: 16 kB / 496.8 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/0.4478, allocations: 476.6 kB / 497.2 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.4492, allocations: 328.5 kB / 497.5 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00578/0.4549, allocations: 4.41 MB / 0.4902 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.4565, allocations: 87.94 kB / 0.4903 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.4566, allocations: 63.98 kB / 0.4903 GB, free: 0.7031 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001889/0.4585, allocations: 1.053 MB / 0.4914 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005632/0.4591, allocations: 196 kB / 0.4915 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003812/0.4629, allocations: 2.138 MB / 0.4936 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/0.4629, allocations: 16 kB / 0.4937 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.463, allocations: 4 kB / 0.4937 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.463, allocations: 7.969 kB / 0.4937 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.473, allocations: 5.159 MB / 0.4987 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.473, allocations: 0 / 0.4987 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.474, allocations: 228.5 kB / 0.4989 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/0.4759, allocations: 457.6 kB / 0.4994 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.476, allocations: 39.36 kB / 0.4994 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005657/0.4816, allocations: 4.305 MB / 0.5036 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.4816, allocations: 7.984 kB / 0.5036 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005591/0.4872, allocations: 3.254 MB / 0.5068 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/0.4886, allocations: 463.7 kB / 0.5072 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/0.4889, allocations: 24 kB / 0.5072 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.4899, allocations: 99.95 kB / 0.5073 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/0.4902, allocations: 101.4 kB / 0.5074 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.847e-05/0.4903, allocations: 38.97 kB / 0.5075 GB, free: 14.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002076/0.4924, allocations: 1.342 MB / 0.5088 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4924, allocations: 4 kB / 0.5088 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001875/0.4943, allocations: 0.5507 MB / 0.5093 GB, free: 13.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006012/0.5003, allocations: 3.93 MB / 0.5132 GB, free: 9.152 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003828/0.5041, allocations: 2.12 MB / 0.5152 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.5041, allocations: 8.188 kB / 0.5152 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00195/0.5061, allocations: 1.146 MB / 0.5164 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.5086, allocations: 0.5314 MB / 0.5169 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03531/0.5439, allocations: 20.54 MB / 0.5369 GB, free: 440 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002605/0.5465, allocations: 2.43 MB / 0.5393 GB, free: 13.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001646/0.5482, allocations: 494 kB / 0.5398 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/0.5496, allocations: 1.062 MB / 0.5408 GB, free: 12.43 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5496, allocations: 0 / 0.5408 GB, free: 12.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/0.655, allocations: 52.3 MB / 0.5919 GB, free: 8.645 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.97, allocations: 7.094 kB / 0.5919 GB, free: 8.641 MB / 494.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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: 16.495393051300198]