Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001657/0.001657, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001907/0.001907, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 247.5 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 63.17 kB / 307.7 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09276/0.09457, allocations: 50.53 MB / 358.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009456/0.1041, allocations: 7.783 MB / 366 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005301/0.1094, allocations: 2.71 MB / 368.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.1105, allocations: 71.69 kB / 368.8 MB, free: 3.445 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.1118, allocations: 0.5666 MB / 369.3 MB, free: 2.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.1137, allocations: 0.7341 MB / 370.1 MB, free: 2.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008855/0.1146, allocations: 415.4 kB / 370.5 MB, free: 1.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1711/0.2857, allocations: 3.26 MB / 373.7 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00471/0.2904, allocations: 3.587 MB / 377.3 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003696/0.2942, allocations: 1.67 MB / 379 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00407/0.2983, allocations: 2.02 MB / 381 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.2996, allocations: 464.3 kB / 381.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.3015, allocations: 0.6507 MB / 382.1 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.3028, allocations: 1.245 MB / 383.3 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002796/0.3056, allocations: 1.97 MB / 385.3 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006999/0.3127, allocations: 6.041 MB / 391.4 MB, free: 3.965 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3127, allocations: 0 / 391.4 MB, free: 3.965 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3127, allocations: 1.375 kB / 391.4 MB, free: 3.965 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001803/0.3129, allocations: 0 / 391.4 MB, free: 3.965 MB / 302.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.009457/0.3224, allocations: 3.814 MB / 395.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.3224, allocations: 8.625 kB / 395.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.3239, allocations: 428.9 kB / 395.6 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.327, allocations: 2.098 MB / 397.7 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.3272, allocations: 218.4 kB / 397.9 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/0.3276, allocations: 301.9 kB / 398.2 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007436/0.3351, allocations: 4.189 MB / 402.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.614e-05/0.3351, allocations: 0 / 402.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.3354, allocations: 116 kB / 402.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001803/0.3356, allocations: 141.9 kB / 402.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006408/0.342, allocations: 3.489 MB / 406.1 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02166/0.3637, allocations: 10.91 MB / 417 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003453/0.3672, allocations: 2.644 MB / 419.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/0.3699, allocations: 1.472 MB / 421.2 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/0.3702, allocations: 122.1 kB / 421.3 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.3703, allocations: 55.48 kB / 421.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 6.863e-06/0.3703, allocations: 0 / 421.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=133): time 0.01085/0.3811, allocations: 5.173 MB / 426.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.3813, allocations: 90.42 kB / 426.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/0.3849, allocations: 1.921 MB / 428.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001838/0.3851, allocations: 53.7 kB / 428.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.3864, allocations: 1.325 MB / 429.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004874/0.3869, allocations: 460.4 kB / 430.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005229/0.3874, allocations: 267.4 kB / 430.6 MB, free: 360 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3876, allocations: 305.1 kB / 430.9 MB, free: 52 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.389, allocations: 0.8152 MB / 431.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.3908, allocations: 1.182 MB / 432.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/0.3941, allocations: 2.088 MB / 435 MB, free: 11.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.3942, allocations: 4 kB / 435 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004759/0.3989, allocations: 2.516 MB / 437.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.399, allocations: 16.17 kB / 437.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.399, allocations: 12 kB / 437.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001979/0.401, allocations: 479.9 kB / 438 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.4024, allocations: 333.4 kB / 438.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006279/0.4087, allocations: 4.397 MB / 442.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.4105, allocations: 83.83 kB / 442.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002624/0.4108, allocations: 60 kB / 442.9 MB, free: 3.812 MB / 350.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.002199/0.413, allocations: 1.067 MB / 443.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006953/0.4137, allocations: 193.7 kB / 444.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00414/0.4179, allocations: 2.139 MB / 446.3 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.929e-05/0.4179, allocations: 16 kB / 446.3 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.4179, allocations: 4 kB / 446.3 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.418, allocations: 7.969 kB / 446.3 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.4292, allocations: 5.189 MB / 451.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.4292, allocations: 8 kB / 451.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.4303, allocations: 226.5 kB / 451.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/0.4322, allocations: 460.9 kB / 452.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/0.4323, allocations: 35.98 kB / 452.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006069/0.4384, allocations: 4.292 MB / 456.5 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4384, allocations: 3.469 kB / 456.5 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005973/0.4444, allocations: 3.252 MB / 459.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.4458, allocations: 458.8 kB / 460.2 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006567/0.4465, allocations: 32 kB / 460.2 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.4479, allocations: 95.02 kB / 460.3 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/0.4482, allocations: 96.81 kB / 460.4 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.4483, allocations: 39.98 kB / 460.5 MB, free: 2.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002637/0.451, allocations: 1.345 MB / 461.8 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.451, allocations: 0 / 461.8 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002422/0.4534, allocations: 0.5508 MB / 462.3 MB, free: 168 kB / 366.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.0006738/0.4541, allocations: 240.4 kB / 462.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005658/0.4597, allocations: 2.868 MB / 465.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.4598, allocations: 3.938 kB / 465.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.4618, allocations: 1.2 MB / 466.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.4644, allocations: 0.5208 MB / 467.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.4753, allocations: 5.759 MB / 472.9 MB, free: 5.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002443/0.4778, allocations: 2.367 MB / 475.3 MB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008041/0.4786, allocations: 147.4 kB / 475.4 MB, free: 3.062 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4786, allocations: 0 / 475.4 MB, free: 3.062 MB / 382.1 MB Notification: Performance of Templates: time 0.07628/0.5549, allocations: 50.97 MB / 0.5141 GB, free: 192 kB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches