Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.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.0009514/0.0009514, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008515/0.0008515, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9167/0.9167, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.56e-05, allocations: 3.125 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01694/0.01696, allocations: 24.54 MB / 349.1 MB, free: 7.219 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00948/0.02644, allocations: 7.038 MB / 356.1 MB, free: 160 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.02792, allocations: 314.5 kB / 356.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01224/0.04017, allocations: 12.92 MB / 369.3 MB, free: 2.895 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007191/0.04736, allocations: 2.685 MB / 372 MB, free: 204 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.05052, allocations: 2.037 MB / 374 MB, free: 14.17 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01286/0.06337, allocations: 19.09 MB / 393.1 MB, free: 11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03002/0.09339, allocations: 28.18 MB / 421.3 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01626/0.1097, allocations: 15.1 MB / 436.4 MB, free: 15.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01158/0.1212, allocations: 9.758 MB / 446.2 MB, free: 5.715 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004844/0.1261, allocations: 2.918 MB / 449.1 MB, free: 2.797 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2805/0.4066, allocations: 3.195 MB / 452.3 MB, free: 52.31 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.006562/0.4132, allocations: 5.583 MB / 457.9 MB, free: 52.31 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01111/0.4243, allocations: 7.231 MB / 465.1 MB, free: 52.31 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0215/0.4458, allocations: 39.53 MB / 0.4928 GB, free: 34.53 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.4458, allocations: 3.984 kB / 0.4928 GB, free: 34.53 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4458, allocations: 0 / 0.4928 GB, free: 34.53 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0009121/0.4467, allocations: 1.938 kB / 0.4928 GB, free: 34.53 MB / 410.8 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.04235/0.4891, allocations: 22.07 MB / 0.5144 GB, free: 20.14 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4891, allocations: 15.98 kB / 0.5144 GB, free: 20.12 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005599/0.4947, allocations: 2.962 MB / 0.5173 GB, free: 17.16 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02063/0.5153, allocations: 8.243 MB / 0.5253 GB, free: 8.984 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01648/0.5318, allocations: 11.88 MB / 0.5369 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009385/0.5327, allocations: 1.349 MB / 0.5382 GB, free: 12.27 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005217/0.538, allocations: 1.761 MB / 0.54 GB, free: 10.52 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04862/0.5866, allocations: 29.03 MB / 0.5683 GB, free: 13.39 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004069/0.587, allocations: 19.91 kB / 0.5683 GB, free: 13.37 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002867/0.5899, allocations: 0.7276 MB / 0.569 GB, free: 12.66 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005427/0.5904, allocations: 0.8493 MB / 0.5699 GB, free: 11.8 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03854/0.6289, allocations: 24.77 MB / 0.5941 GB, free: 3.02 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.266/0.8949, allocations: 78.9 MB / 0.6711 GB, free: 125.2 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.9053, allocations: 12.78 MB / 0.6836 GB, free: 121.5 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004303/0.9096, allocations: 5.041 MB / 0.6885 GB, free: 119.2 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002775/0.9099, allocations: 142.2 kB / 0.6886 GB, free: 119.1 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.9099, allocations: 95.33 kB / 0.6887 GB, free: 119 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=577): time 6.843e-06/0.9099, allocations: 1.203 kB / 0.6887 GB, free: 119 MB / 0.4949 GB Notification: Performance of matching and sorting (n=577): time 0.01862/0.9286, allocations: 14.69 MB / 0.7031 GB, free: 111 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.9286, allocations: 141.6 kB / 0.7032 GB, free: 110.8 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005842/0.9345, allocations: 6.702 MB / 0.7098 GB, free: 104.2 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0002158/0.9347, allocations: 121.7 kB / 0.7099 GB, free: 104.1 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001939/0.9366, allocations: 7.869 MB / 0.7176 GB, free: 96.21 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008152/0.9374, allocations: 2.086 MB / 0.7196 GB, free: 94.15 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001809/0.9392, allocations: 2.08 MB / 0.7216 GB, free: 92.06 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 2.717e-05/0.9393, allocations: 305.1 kB / 0.7219 GB, free: 91.76 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003753/0.943, allocations: 4.748 MB / 0.7266 GB, free: 87.01 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004896/0.9479, allocations: 9.497 MB / 0.7358 GB, free: 75.26 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009339/0.9572, allocations: 15.33 MB / 0.7508 GB, free: 57.61 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.498e-05/0.9573, allocations: 48 kB / 0.7509 GB, free: 57.57 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.013/0.9703, allocations: 15.41 MB / 0.7659 GB, free: 42.07 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/0.9704, allocations: 79.94 kB / 0.766 GB, free: 42 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/0.9705, allocations: 159.9 kB / 0.7661 GB, free: 41.84 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002669/0.9732, allocations: 1.657 MB / 0.7677 GB, free: 40.18 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003903/0.9771, allocations: 2.363 MB / 0.7701 GB, free: 37.81 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008485/0.9856, allocations: 11.3 MB / 0.7811 GB, free: 26.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005059/0.9906, allocations: 1.37 MB / 0.7824 GB, free: 25.03 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006807/0.9913, allocations: 0.5351 MB / 0.7829 GB, free: 24.49 MB / 0.4949 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 (1243): * Single equations (assignments): 1240 * 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.008891/1, allocations: 7.141 MB / 0.7899 GB, free: 17.33 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007395/1.001, allocations: 0.6442 MB / 0.7905 GB, free: 16.68 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008754/1.01, allocations: 10.07 MB / 0.8004 GB, free: 6.496 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00671/1.016, allocations: 7.769 MB / 0.808 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/1.016, allocations: 12 kB / 0.808 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.519e-05/1.016, allocations: 37.03 kB / 0.808 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2213/1.238, allocations: 24.48 MB / 0.8319 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/1.238, allocations: 9.188 kB / 0.8319 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002197/1.24, allocations: 1.017 MB / 0.8329 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002524/1.243, allocations: 1.459 MB / 0.8344 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002161/1.243, allocations: 140.1 kB / 0.8345 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007822/1.251, allocations: 10.84 MB / 0.8451 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.251, allocations: 7.656 kB / 0.8451 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.261, allocations: 14.13 MB / 0.8589 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/1.263, allocations: 1.445 MB / 0.8603 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004127/1.263, allocations: 109.7 kB / 0.8604 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/1.265, allocations: 315.6 kB / 0.8607 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004234/1.265, allocations: 429.2 kB / 0.8611 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/1.265, allocations: 176.2 kB / 0.8613 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003871/1.269, allocations: 4.305 MB / 0.8655 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/1.269, allocations: 0 / 0.8655 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007137/1.276, allocations: 4.098 MB / 0.8695 GB, free: 141.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (528): * Single equations (assignments): 525 * 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.01125/1.288, allocations: 14.9 MB / 0.884 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01352/1.301, allocations: 10.96 MB / 0.8947 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.301, allocations: 0 / 0.8947 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005411/1.307, allocations: 4.348 MB / 0.899 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006255/1.313, allocations: 1.553 MB / 0.9005 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09638/1.409, allocations: 94.69 MB / 0.993 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006798/1.416, allocations: 10.94 MB / 1.004 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005569/1.422, allocations: 3.77 MB / 1.007 GB, free: 13.4 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005299/1.427, allocations: 5.952 MB / 1.013 GB, free: 7.441 MB / 0.5262 GB Notification: Performance of SimCode: time 1.303e-06/1.427, allocations: 4 kB / 1.013 GB, free: 7.438 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4777/1.905, allocations: 210.9 MB / 1.219 GB, free: 117.3 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/14.61, allocations: 6.703 kB / 1.219 GB, free: 117.3 MB / 0.5262 GB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 16.709691878408194]