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.001281/0.001281, allocations: 107.6 kB / 21.19 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.001426/0.001426, allocations: 214.8 kB / 24.48 MB, free: 3.957 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.454/1.454, allocations: 230.6 MB / 258.2 MB, free: 7.77 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.001523/0.001523, allocations: 47.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2803, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01006/0.2904, allocations: 6.916 MB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005798/0.2962, allocations: 2.594 MB / 441.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.2977, allocations: 95.31 kB / 441.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.2993, allocations: 0.5859 MB / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.3019, allocations: 0.7653 MB / 443.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.3031, allocations: 423.4 kB / 443.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004525/0.3076, allocations: 3.292 MB / 447 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003037/0.3107, allocations: 2 MB / 449 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003731/0.3144, allocations: 1.716 MB / 450.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00391/0.3183, allocations: 2.079 MB / 452.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001467/0.3198, allocations: 460 kB / 453.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.3221, allocations: 0.6714 MB / 453.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001689/0.3238, allocations: 1.262 MB / 455.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003016/0.3268, allocations: 1.583 MB / 456.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00776/0.3346, allocations: 6.154 MB / 462.9 MB, free: 7.977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3346, allocations: 0 / 462.9 MB, free: 7.977 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3346, allocations: 0 / 462.9 MB, free: 7.977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001775/0.3348, allocations: 0 / 462.9 MB, free: 7.977 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.00919/0.344, allocations: 3.821 MB / 466.7 MB, free: 4.102 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.344, allocations: 8.031 kB / 466.7 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.3455, allocations: 450.5 kB / 467.2 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004337/0.3498, allocations: 2.119 MB / 469.3 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.35, allocations: 221.8 kB / 469.5 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004733/0.3505, allocations: 284 kB / 469.8 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007183/0.3577, allocations: 4.446 MB / 474.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.261e-05/0.3577, allocations: 0 / 474.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002648/0.358, allocations: 120 kB / 474.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/0.3582, allocations: 145.9 kB / 474.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005639/0.3638, allocations: 3.486 MB / 478 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/0.3815, allocations: 9.224 MB / 487.2 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.3842, allocations: 1.648 MB / 488.9 MB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00254/0.3867, allocations: 1.403 MB / 490.3 MB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/0.387, allocations: 56.84 kB / 490.3 MB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/0.387, allocations: 47.56 kB / 490.4 MB, free: 12.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 4.168e-06/0.387, allocations: 0 / 490.4 MB, free: 12.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.01004/0.3971, allocations: 5.105 MB / 495.5 MB, free: 6.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.3971, allocations: 94.42 kB / 495.6 MB, free: 6.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002788/0.3999, allocations: 1.725 MB / 497.3 MB, free: 5.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.4001, allocations: 45.7 kB / 497.3 MB, free: 5.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.4013, allocations: 1.368 MB / 498.7 MB, free: 3.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005545/0.4019, allocations: 475.9 kB / 499.2 MB, free: 3.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000492/0.4024, allocations: 279.5 kB / 499.4 MB, free: 2.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4026, allocations: 313 kB / 499.7 MB, free: 2.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.404, allocations: 0.8198 MB / 0.4888 GB, free: 1.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.4058, allocations: 1.2 MB / 0.49 GB, free: 488 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003383/0.4092, allocations: 2.086 MB / 0.492 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.4092, allocations: 4 kB / 0.492 GB, free: 14.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004908/0.4141, allocations: 2.504 MB / 0.4945 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.4141, allocations: 12 kB / 0.4945 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.4141, allocations: 8 kB / 0.4945 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/0.416, allocations: 487.1 kB / 0.495 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.4173, allocations: 331.4 kB / 0.4953 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006032/0.4234, allocations: 4.21 MB / 0.4994 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.4251, allocations: 83.88 kB / 0.4995 GB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/0.4254, allocations: 60 kB / 0.4995 GB, free: 6.461 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.002274/0.4277, allocations: 1.058 MB / 0.5006 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007001/0.4284, allocations: 186.9 kB / 0.5008 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003954/0.4323, allocations: 2.12 MB / 0.5028 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.166e-05/0.4323, allocations: 16 kB / 0.5028 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.4324, allocations: 4 kB / 0.5028 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.4324, allocations: 7.969 kB / 0.5028 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009194/0.4416, allocations: 4.487 MB / 0.5072 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.4416, allocations: 0 / 0.5072 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.4426, allocations: 227.6 kB / 0.5074 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/0.4444, allocations: 465 kB / 0.5079 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.4445, allocations: 27.98 kB / 0.5079 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00555/0.45, allocations: 4.118 MB / 0.5119 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.45, allocations: 4 kB / 0.5119 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005629/0.4557, allocations: 3.236 MB / 0.5151 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/0.4571, allocations: 370.7 kB / 0.5155 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.4574, allocations: 28.06 kB / 0.5155 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009736/0.4584, allocations: 91.91 kB / 0.5156 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/0.4586, allocations: 104.7 kB / 0.5157 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.4587, allocations: 43.98 kB / 0.5157 GB, free: 5.652 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001951/0.4607, allocations: 1.19 MB / 0.5169 GB, free: 4.465 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4607, allocations: 4 kB / 0.5169 GB, free: 4.461 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002038/0.4627, allocations: 0.5507 MB / 0.5174 GB, free: 3.91 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.0006148/0.4633, allocations: 221 kB / 0.5176 GB, free: 3.688 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003809/0.4672, allocations: 2.129 MB / 0.5197 GB, free: 1.547 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.4672, allocations: 0 / 0.5197 GB, free: 1.547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001995/0.4692, allocations: 1.156 MB / 0.5208 GB, free: 384 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.4713, allocations: 407.7 kB / 0.5212 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.4831, allocations: 5.794 MB / 0.5269 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002252/0.4853, allocations: 1.811 MB / 0.5286 GB, free: 8.273 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007056/0.486, allocations: 135.3 kB / 0.5288 GB, free: 8.141 MB / 446.1 MB Notification: Performance of SimCode: time 1.462e-06/0.486, allocations: 0 / 0.5288 GB, free: 8.141 MB / 446.1 MB Notification: Performance of Templates: time 0.2659/0.752, allocations: 50.71 MB / 0.5783 GB, free: 65.32 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 -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: 12.742234862991609]