Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00155/0.00155, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 63.91 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.279, allocations: 53.41 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01045/0.2894, allocations: 7.883 MB / 439.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006159/0.2956, allocations: 2.753 MB / 441.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.2971, allocations: 87.38 kB / 441.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001882/0.299, allocations: 0.5947 MB / 442.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.3018, allocations: 0.7808 MB / 443.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.3031, allocations: 427.4 kB / 443.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004913/0.308, allocations: 3.308 MB / 447 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004037/0.3121, allocations: 2.015 MB / 449 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003668/0.3157, allocations: 1.706 MB / 450.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004078/0.3198, allocations: 2.094 MB / 452.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.3211, allocations: 464 kB / 453.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.3233, allocations: 0.7221 MB / 454 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001984/0.3253, allocations: 1.266 MB / 455.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003912/0.3292, allocations: 1.984 MB / 457.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00903/0.3383, allocations: 6.143 MB / 463.4 MB, free: 6.348 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3383, allocations: 0 / 463.4 MB, free: 6.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3383, allocations: 0 / 463.4 MB, free: 6.348 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002319/0.3385, allocations: 0 / 463.4 MB, free: 6.348 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: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.01099/0.3495, allocations: 3.828 MB / 467.2 MB, free: 2.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3495, allocations: 12.03 kB / 467.2 MB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001374/0.3509, allocations: 434 kB / 467.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.3528, allocations: 450.5 kB / 468.1 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004677/0.3575, allocations: 2.123 MB / 470.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.3577, allocations: 222.2 kB / 470.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005561/0.3582, allocations: 291.9 kB / 470.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008035/0.3663, allocations: 4.222 MB / 474.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-05/0.3663, allocations: 0 / 474.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002932/0.3666, allocations: 120 kB / 475.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000193/0.3668, allocations: 153.9 kB / 475.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006291/0.3731, allocations: 3.513 MB / 478.7 MB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0206/0.3937, allocations: 11.01 MB / 489.7 MB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/0.3963, allocations: 1.659 MB / 491.4 MB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002482/0.3988, allocations: 1.403 MB / 492.8 MB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.399, allocations: 44.97 kB / 492.8 MB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.3991, allocations: 43.56 kB / 492.9 MB, free: 8.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.306e-06/0.3991, allocations: 4 kB / 492.9 MB, free: 8.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009849/0.4089, allocations: 5.136 MB / 498 MB, free: 3.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/0.409, allocations: 98.41 kB / 498.1 MB, free: 3.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/0.4121, allocations: 1.918 MB / 0.4883 GB, free: 1.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.4122, allocations: 49.7 kB / 0.4884 GB, free: 1.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.4134, allocations: 1.369 MB / 0.4897 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004753/0.4139, allocations: 483.8 kB / 0.4902 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004576/0.4143, allocations: 267.5 kB / 0.4904 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4145, allocations: 305.1 kB / 0.4907 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.4158, allocations: 0.8198 MB / 0.4915 GB, free: 13.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.4174, allocations: 1.178 MB / 0.4927 GB, free: 12.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00304/0.4204, allocations: 2.078 MB / 0.4947 GB, free: 10.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.4204, allocations: 4 kB / 0.4947 GB, free: 10.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004508/0.4249, allocations: 2.531 MB / 0.4972 GB, free: 7.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.425, allocations: 8 kB / 0.4972 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.425, allocations: 12 kB / 0.4972 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.4269, allocations: 479.1 kB / 0.4976 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.4282, allocations: 335.5 kB / 0.498 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005919/0.4342, allocations: 4.285 MB / 0.5022 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.4356, allocations: 87.81 kB / 0.5022 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.4358, allocations: 64 kB / 0.5023 GB, free: 2.438 MB / 414.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.001916/0.4377, allocations: 1.052 MB / 0.5033 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005115/0.4382, allocations: 202.8 kB / 0.5035 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/0.4419, allocations: 2.137 MB / 0.5056 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.37e-05/0.4419, allocations: 16 kB / 0.5056 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.4419, allocations: 4 kB / 0.5056 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.442, allocations: 11.91 kB / 0.5056 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00897/0.4509, allocations: 5.162 MB / 0.5107 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.4509, allocations: 8.219 kB / 0.5107 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009761/0.4519, allocations: 223.7 kB / 0.5109 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.4538, allocations: 460.2 kB / 0.5113 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.875e-05/0.4539, allocations: 39.92 kB / 0.5114 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005656/0.4595, allocations: 4.196 MB / 0.5155 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4595, allocations: 3.938 kB / 0.5155 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005423/0.4649, allocations: 3.256 MB / 0.5187 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.4663, allocations: 394.6 kB / 0.519 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003745/0.4667, allocations: 28 kB / 0.5191 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009816/0.4676, allocations: 95.95 kB / 0.5191 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/0.4679, allocations: 96.75 kB / 0.5192 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.468, allocations: 39.98 kB / 0.5193 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002052/0.47, allocations: 1.346 MB / 0.5206 GB, free: 15.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.47, allocations: 0 / 0.5206 GB, free: 15.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001721/0.4718, allocations: 0.5585 MB / 0.5211 GB, free: 14.87 MB / 446.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.005892/0.4777, allocations: 3.934 MB / 0.525 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003899/0.4816, allocations: 2.122 MB / 0.5271 GB, free: 8.754 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.4816, allocations: 4 kB / 0.5271 GB, free: 8.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.4836, allocations: 1.156 MB / 0.5282 GB, free: 7.586 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/0.486, allocations: 0.5047 MB / 0.5287 GB, free: 7.082 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2282/0.7142, allocations: 20.65 MB / 0.5488 GB, free: 95.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/0.716, allocations: 2.437 MB / 0.5512 GB, free: 94.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001259/0.7172, allocations: 499.4 kB / 0.5517 GB, free: 94.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.7182, allocations: 1.073 MB / 0.5527 GB, free: 93.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7182, allocations: 0 / 0.5527 GB, free: 93.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08846/0.8067, allocations: 53.6 MB / 0.6051 GB, free: 40.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/15.92, allocations: 4 kB / 0.6051 GB, free: 40.36 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 18.44543903018348]