Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.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.001701/0.001701, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001372/0.001372, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.738 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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 51.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2251, allocations: 53.37 MB / 432.3 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009677/0.2348, allocations: 6.919 MB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005899/0.2407, allocations: 2.594 MB / 441.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.2424, allocations: 91.31 kB / 441.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.2439, allocations: 0.5898 MB / 442.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.2461, allocations: 0.7653 MB / 443.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009346/0.2471, allocations: 427.4 kB / 443.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003718/0.2508, allocations: 3.288 MB / 447 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/0.2535, allocations: 2 MB / 449 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.2565, allocations: 1.714 MB / 450.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002788/0.2592, allocations: 2.083 MB / 452.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000653/0.2599, allocations: 460 kB / 453.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.2611, allocations: 0.6636 MB / 453.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001251/0.2624, allocations: 1.262 MB / 455.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001855/0.2642, allocations: 1.587 MB / 456.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006687/0.2709, allocations: 6.15 MB / 462.9 MB, free: 7.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2709, allocations: 4 kB / 462.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2709, allocations: 0 / 462.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001137/0.271, allocations: 0 / 462.9 MB, free: 7.961 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.008699/0.2797, allocations: 3.813 MB / 466.7 MB, free: 4.094 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2798, allocations: 12.03 kB / 466.7 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.2813, allocations: 450.5 kB / 467.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004711/0.286, allocations: 2.119 MB / 469.3 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.2862, allocations: 229.7 kB / 469.5 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005569/0.2868, allocations: 280 kB / 469.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007942/0.2947, allocations: 4.438 MB / 474.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.628e-05/0.2948, allocations: 0 / 474.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003076/0.2951, allocations: 128 kB / 474.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/0.2953, allocations: 145.9 kB / 474.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00675/0.302, allocations: 3.482 MB / 478 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01913/0.3212, allocations: 9.228 MB / 487.2 MB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/0.3239, allocations: 1.648 MB / 488.9 MB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002583/0.3265, allocations: 1.403 MB / 490.3 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.3267, allocations: 48.84 kB / 490.3 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/0.3268, allocations: 55.5 kB / 490.4 MB, free: 12.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 4.589e-06/0.3268, allocations: 0 / 490.4 MB, free: 12.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.01043/0.3372, allocations: 5.105 MB / 495.5 MB, free: 6.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.414e-05/0.3373, allocations: 90.42 kB / 495.6 MB, free: 6.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/0.3401, allocations: 1.729 MB / 497.3 MB, free: 5.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.3403, allocations: 53.7 kB / 497.3 MB, free: 5.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.3414, allocations: 1.36 MB / 498.7 MB, free: 3.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004861/0.3419, allocations: 479.9 kB / 499.2 MB, free: 3.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004968/0.3424, allocations: 275.5 kB / 499.4 MB, free: 2.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3425, allocations: 305.1 kB / 499.7 MB, free: 2.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.3439, allocations: 0.8237 MB / 0.4888 GB, free: 1.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.3457, allocations: 1.2 MB / 0.49 GB, free: 476 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/0.3489, allocations: 2.086 MB / 0.492 GB, free: 14.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.3489, allocations: 0 / 0.492 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004626/0.3535, allocations: 2.508 MB / 0.4945 GB, free: 11.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.3536, allocations: 8 kB / 0.4945 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.3536, allocations: 16.19 kB / 0.4945 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002085/0.3557, allocations: 474.9 kB / 0.495 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.3571, allocations: 339.5 kB / 0.4953 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005731/0.3628, allocations: 4.206 MB / 0.4994 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.3642, allocations: 91.81 kB / 0.4995 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.3643, allocations: 60 kB / 0.4995 GB, free: 6.445 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.001713/0.366, allocations: 1.054 MB / 0.5006 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004503/0.3665, allocations: 182.9 kB / 0.5007 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.3703, allocations: 2.12 MB / 0.5028 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.819e-05/0.3703, allocations: 16 kB / 0.5028 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3703, allocations: 4 kB / 0.5028 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.3703, allocations: 15.91 kB / 0.5028 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008672/0.379, allocations: 4.479 MB / 0.5072 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.379, allocations: 4.219 kB / 0.5072 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.3801, allocations: 227.7 kB / 0.5074 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002083/0.3822, allocations: 460.8 kB / 0.5079 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.3823, allocations: 35.98 kB / 0.5079 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005736/0.388, allocations: 4.118 MB / 0.5119 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.388, allocations: 3.984 kB / 0.5119 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005471/0.3935, allocations: 3.236 MB / 0.5151 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.3947, allocations: 366.8 kB / 0.5155 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/0.395, allocations: 27.98 kB / 0.5155 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.396, allocations: 99.97 kB / 0.5156 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/0.3962, allocations: 96.73 kB / 0.5157 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.3963, allocations: 47.98 kB / 0.5157 GB, free: 5.637 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001915/0.3983, allocations: 1.19 MB / 0.5169 GB, free: 4.449 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3983, allocations: 0 / 0.5169 GB, free: 4.449 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00198/0.4002, allocations: 0.5468 MB / 0.5174 GB, free: 3.902 MB / 430.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.0006612/0.4009, allocations: 229.2 kB / 0.5176 GB, free: 3.672 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004022/0.4049, allocations: 2.129 MB / 0.5197 GB, free: 1.531 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4049, allocations: 0 / 0.5197 GB, free: 1.531 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.4071, allocations: 1.164 MB / 0.5208 GB, free: 360 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.4093, allocations: 403.5 kB / 0.5212 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.4199, allocations: 5.8 MB / 0.5269 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002236/0.4221, allocations: 1.872 MB / 0.5287 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001421/0.4235, allocations: 465.8 kB / 0.5292 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/0.4239, allocations: 135.3 kB / 0.5293 GB, free: 7.594 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4239, allocations: 0 / 0.5293 GB, free: 7.594 MB / 446.1 MB Notification: Performance of Templates: time 0.2301/0.654, allocations: 31.55 MB / 0.5601 GB, free: 86.34 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.5174425700097345]