Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.0015/0.0015, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001696/0.001696, allocations: 213.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 8.039 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-beta.om/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.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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 68.77 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2313, allocations: 53.36 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01037/0.2417, allocations: 7.859 MB / 440.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005307/0.247, allocations: 2.734 MB / 443 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008416/0.2479, allocations: 87.38 kB / 443.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.2491, allocations: 0.5995 MB / 443.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.251, allocations: 0.7614 MB / 444.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008628/0.2519, allocations: 435.3 kB / 444.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003643/0.2555, allocations: 3.292 MB / 448.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/0.2581, allocations: 2.007 MB / 450.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.2609, allocations: 1.712 MB / 451.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002632/0.2635, allocations: 2.086 MB / 454 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005537/0.2641, allocations: 464 kB / 454.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.2652, allocations: 0.7221 MB / 455.1 MB, free: 124 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.2664, allocations: 1.258 MB / 456.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001976/0.2684, allocations: 1.968 MB / 458.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006261/0.2746, allocations: 6.123 MB / 464.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2746, allocations: 0 / 464.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2746, allocations: 0 / 464.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.167e-05/0.2747, allocations: 4 kB / 464.5 MB, free: 6.738 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.006923/0.2816, allocations: 3.817 MB / 468.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2816, allocations: 8.031 kB / 468.3 MB, free: 2.859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.283, allocations: 454.5 kB / 468.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003643/0.2866, allocations: 2.119 MB / 470.9 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.2868, allocations: 221.8 kB / 471.1 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004529/0.2872, allocations: 284 kB / 471.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0071/0.2943, allocations: 4.194 MB / 475.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.234e-05/0.2944, allocations: 7.922 kB / 475.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000269/0.2947, allocations: 120 kB / 475.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001693/0.2948, allocations: 137.9 kB / 475.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006883/0.3017, allocations: 3.486 MB / 479.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01958/0.3213, allocations: 10.67 MB / 490 MB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/0.3239, allocations: 1.655 MB / 491.6 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002526/0.3264, allocations: 1.403 MB / 493 MB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.3266, allocations: 52.89 kB / 493.1 MB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.566e-05/0.3267, allocations: 51.56 kB / 493.1 MB, free: 9.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.777e-06/0.3267, allocations: 0 / 493.1 MB, free: 9.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009369/0.3361, allocations: 5.125 MB / 498.3 MB, free: 4.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.3361, allocations: 94.41 kB / 498.4 MB, free: 4.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00281/0.339, allocations: 1.914 MB / 0.4886 GB, free: 2.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.3391, allocations: 49.7 kB / 0.4886 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.3401, allocations: 1.361 MB / 0.4899 GB, free: 1.102 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003983/0.3405, allocations: 483.9 kB / 0.4904 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004348/0.341, allocations: 267.5 kB / 0.4906 GB, free: 364 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3411, allocations: 313.1 kB / 0.4909 GB, free: 48 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.3424, allocations: 0.812 MB / 0.4917 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.344, allocations: 1.182 MB / 0.4929 GB, free: 13.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002961/0.347, allocations: 2.078 MB / 0.4949 GB, free: 11.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.347, allocations: 8 kB / 0.4949 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004343/0.3513, allocations: 2.531 MB / 0.4974 GB, free: 9.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.3513, allocations: 12.03 kB / 0.4974 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.3514, allocations: 12 kB / 0.4974 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/0.3533, allocations: 474.9 kB / 0.4979 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.3546, allocations: 331.5 kB / 0.4982 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00572/0.3603, allocations: 4.293 MB / 0.5024 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.3615, allocations: 83.98 kB / 0.5025 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.3616, allocations: 63.98 kB / 0.5025 GB, free: 3.777 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.001642/0.3632, allocations: 1.048 MB / 0.5035 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/0.3636, allocations: 198.7 kB / 0.5037 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.3674, allocations: 2.141 MB / 0.5058 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-05/0.3674, allocations: 16 kB / 0.5058 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3674, allocations: 4 kB / 0.5058 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.3674, allocations: 7.969 kB / 0.5059 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009308/0.3768, allocations: 5.15 MB / 0.5109 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.3768, allocations: 0 / 0.5109 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.3778, allocations: 227.6 kB / 0.5111 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001847/0.3796, allocations: 464.9 kB / 0.5115 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.083e-05/0.3797, allocations: 39.91 kB / 0.5116 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00556/0.3853, allocations: 4.208 MB / 0.5157 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3853, allocations: 0 / 0.5157 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005358/0.3906, allocations: 3.256 MB / 0.5189 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.3918, allocations: 386.6 kB / 0.5192 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.3921, allocations: 36 kB / 0.5193 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009877/0.3931, allocations: 99.94 kB / 0.5194 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/0.3933, allocations: 96.75 kB / 0.5195 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.657e-05/0.3934, allocations: 43.98 kB / 0.5195 GB, free: 2.117 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002065/0.3955, allocations: 1.346 MB / 0.5208 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3955, allocations: 0 / 0.5208 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001602/0.3971, allocations: 0.5468 MB / 0.5214 GB, free: 236 kB / 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.0005263/0.3976, allocations: 222.9 kB / 0.5216 GB, free: 8 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003573/0.4012, allocations: 2.125 MB / 0.5236 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4012, allocations: 0.75 kB / 0.5236 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00194/0.4031, allocations: 1.155 MB / 0.5248 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.4051, allocations: 0.509 MB / 0.5253 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009548/0.4147, allocations: 5.835 MB / 0.531 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002372/0.4171, allocations: 2.431 MB / 0.5333 GB, free: 3.832 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001343/0.4184, allocations: 495.4 kB / 0.5338 GB, free: 3.344 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.4188, allocations: 131.3 kB / 0.5339 GB, free: 3.215 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4188, allocations: 4 kB / 0.5339 GB, free: 3.211 MB / 446.1 MB Notification: Performance of Templates: time 0.2297/0.6485, allocations: 32.02 MB / 0.5652 GB, free: 81.09 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.564520459622145]