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.001396/0.001396, allocations: 107 kB / 19.8 MB, free: 2.5 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.001401/0.001401, allocations: 220.1 kB / 23 MB, free: 5.578 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.533/1.533, allocations: 230.2 MB / 256.2 MB, free: 8.523 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: translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 71.86 kB / 376.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2551, allocations: 53.32 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03191/0.287, allocations: 28.76 MB / 458.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01538/0.3024, allocations: 7.223 MB / 465.8 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007025/0.3095, allocations: 263.2 kB / 466 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03097/0.3404, allocations: 13.21 MB / 479.3 MB, free: 5.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.352, allocations: 2.555 MB / 481.8 MB, free: 3.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00687/0.3589, allocations: 2.052 MB / 483.9 MB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02366/0.3825, allocations: 18.34 MB / 0.4904 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05368/0.4362, allocations: 26.94 MB / 0.5167 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01859/0.4548, allocations: 9.967 MB / 0.5265 GB, free: 9.758 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4596/0.9144, allocations: 11.13 MB / 0.5373 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006532/0.921, allocations: 2.918 MB / 0.5402 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009027/0.93, allocations: 3.2 MB / 0.5433 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007772/0.9378, allocations: 5.484 MB / 0.5487 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02118/0.9589, allocations: 10.83 MB / 0.5592 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03154/0.9905, allocations: 39.1 MB / 0.5974 GB, free: 5.637 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.9905, allocations: 0 / 0.5974 GB, free: 5.637 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.9905, allocations: 0 / 0.5974 GB, free: 5.637 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008789/0.9914, allocations: 0 / 0.5974 GB, free: 5.637 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.0587/1.05, allocations: 22.31 MB / 0.6192 GB, free: 3.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/1.05, allocations: 8.031 kB / 0.6192 GB, free: 3.723 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04476/1.095, allocations: 8.24 MB / 0.6273 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02393/1.119, allocations: 11.68 MB / 0.6387 GB, free: 308 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001493/1.12, allocations: 1.344 MB / 0.64 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006403/1.127, allocations: 1.759 MB / 0.6417 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07185/1.199, allocations: 28.76 MB / 0.6698 GB, free: 432 kB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005729/1.199, allocations: 23.89 kB / 0.6698 GB, free: 408 kB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005271/1.204, allocations: 0.7266 MB / 0.6705 GB, free: 15.68 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008532/1.205, allocations: 0.8425 MB / 0.6713 GB, free: 14.84 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05951/1.265, allocations: 24.84 MB / 0.6956 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4145/1.679, allocations: 87.51 MB / 0.7811 GB, free: 107.2 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02254/1.702, allocations: 34.59 MB / 0.8148 GB, free: 79.72 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007608/1.709, allocations: 5.047 MB / 0.8198 GB, free: 79.62 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004876/1.71, allocations: 331 kB / 0.8201 GB, free: 79.42 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/1.71, allocations: 96.7 kB / 0.8202 GB, free: 79.37 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 7.134e-06/1.71, allocations: 0 / 0.8202 GB, free: 79.37 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.02962/1.74, allocations: 14.77 MB / 0.8346 GB, free: 78.57 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/1.74, allocations: 137.2 kB / 0.8347 GB, free: 78.47 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008411/1.748, allocations: 6.432 MB / 0.841 GB, free: 77.35 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008708/1.749, allocations: 124 kB / 0.8411 GB, free: 77.32 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003265/1.752, allocations: 7.895 MB / 0.8488 GB, free: 71.77 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001847/1.754, allocations: 2.108 MB / 0.8509 GB, free: 70.25 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002618/1.757, allocations: 2.113 MB / 0.853 GB, free: 69.11 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.403e-05/1.757, allocations: 301.1 kB / 0.8532 GB, free: 68.81 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005447/1.762, allocations: 4.746 MB / 0.8579 GB, free: 66.28 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007097/1.769, allocations: 9.475 MB / 0.8671 GB, free: 57.35 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01532/1.784, allocations: 15.34 MB / 0.8821 GB, free: 43.93 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/1.785, allocations: 51.94 kB / 0.8822 GB, free: 43.88 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02241/1.807, allocations: 15.4 MB / 0.8972 GB, free: 29.39 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.531e-05/1.807, allocations: 76.55 kB / 0.8973 GB, free: 29.31 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002078/1.807, allocations: 160 kB / 0.8974 GB, free: 29.16 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005059/1.812, allocations: 1.657 MB / 0.899 GB, free: 27.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007154/1.82, allocations: 2.362 MB / 0.9013 GB, free: 25.31 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/1.832, allocations: 11.62 MB / 0.9127 GB, free: 13.66 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007205/1.839, allocations: 1.384 MB / 0.914 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/1.841, allocations: 0.5312 MB / 0.9146 GB, free: 11.73 MB / 0.5763 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.009947/1.851, allocations: 7.143 MB / 0.9215 GB, free: 4.754 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/1.852, allocations: 0.6404 MB / 0.9222 GB, free: 4.109 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01755/1.869, allocations: 10.08 MB / 0.932 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0132/1.882, allocations: 7.764 MB / 0.9396 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.649e-05/1.883, allocations: 15.98 kB / 0.9396 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.194e-05/1.883, allocations: 27.89 kB / 0.9396 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05058/1.933, allocations: 25.7 MB / 0.9647 GB, free: 8.332 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.523e-05/1.933, allocations: 8 kB / 0.9647 GB, free: 8.324 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00438/1.938, allocations: 1.017 MB / 0.9657 GB, free: 7.359 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005556/1.943, allocations: 1.466 MB / 0.9672 GB, free: 5.887 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000763/1.944, allocations: 138 kB / 0.9673 GB, free: 5.754 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/1.96, allocations: 11.16 MB / 0.9782 GB, free: 10.5 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/1.96, allocations: 15.66 kB / 0.9782 GB, free: 10.48 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2596/2.219, allocations: 14.14 MB / 0.992 GB, free: 232.4 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002925/2.222, allocations: 1.476 MB / 0.9934 GB, free: 232.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006945/2.223, allocations: 108.2 kB / 0.9936 GB, free: 232.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/2.226, allocations: 320.4 kB / 0.9939 GB, free: 232.4 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000735/2.226, allocations: 405.6 kB / 0.9942 GB, free: 232.3 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003341/2.227, allocations: 176.7 kB / 0.9944 GB, free: 232.3 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.00571/2.232, allocations: 4.306 MB / 0.9986 GB, free: 231.8 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.4e-07/2.232, allocations: 0 / 0.9986 GB, free: 231.8 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.009344/2.242, allocations: 4.087 MB / 1.003 GB, free: 230.5 MB / 0.6388 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.0007793/2.243, allocations: 329.8 kB / 1.003 GB, free: 230.3 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01478/2.257, allocations: 10.96 MB / 1.014 GB, free: 226.2 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/2.257, allocations: 4.812 kB / 1.014 GB, free: 226.2 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.005549/2.263, allocations: 4.337 MB / 1.018 GB, free: 224.5 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00631/2.269, allocations: 1.562 MB / 1.019 GB, free: 223.9 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0434/2.313, allocations: 29.85 MB / 1.049 GB, free: 210.9 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01281/2.325, allocations: 11.25 MB / 1.06 GB, free: 202.2 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.009012/2.334, allocations: 3.771 MB / 1.063 GB, free: 199.7 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00197/2.336, allocations: 0.5517 MB / 1.064 GB, free: 199.2 MB / 0.6388 GB Notification: Performance of SimCode: time 1.332e-06/2.336, allocations: 0 / 1.064 GB, free: 199.2 MB / 0.6388 GB Notification: Performance of Templates: time 0.1502/2.487, allocations: 98.61 MB / 1.16 GB, free: 104 MB / 0.6388 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] 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: 9.894424014724791]