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.0009755/0.0009755, allocations: 99.06 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001145, allocations: 202.3 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.7 MB / 247.5 MB, free: 11.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001972/0.0001972, allocations: 4.281 kB / 308.4 MB, free: 0.7812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09071/0.09092, allocations: 51.53 MB / 359.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006952/0.09791, allocations: 7.224 MB / 367.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004631/0.1026, allocations: 2.664 MB / 369.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009233/0.1035, allocations: 59.69 kB / 369.9 MB, free: 3.262 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.1046, allocations: 485.4 kB / 370.3 MB, free: 2.785 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.1062, allocations: 0.6802 MB / 371 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000732/0.107, allocations: 367.6 kB / 371.4 MB, free: 1.742 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1719/0.2789, allocations: 3.671 MB / 375 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005569/0.2845, allocations: 2.931 MB / 378 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003866/0.2884, allocations: 1.203 MB / 379.2 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0035/0.2919, allocations: 1.654 MB / 380.8 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009984/0.2929, allocations: 188 kB / 381 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.2949, allocations: 412.7 kB / 381.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.2961, allocations: 0.9138 MB / 382.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002826/0.299, allocations: 1.62 MB / 384 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005538/0.3045, allocations: 4.97 MB / 388.9 MB, free: 5.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3045, allocations: 0 / 388.9 MB, free: 5.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3045, allocations: 0 / 388.9 MB, free: 5.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001747/0.3047, allocations: 0 / 388.9 MB, free: 5.91 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.008699/0.3134, allocations: 3.204 MB / 392.1 MB, free: 3.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.3135, allocations: 13.95 kB / 392.1 MB, free: 3.789 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/0.3159, allocations: 436.4 kB / 392.6 MB, free: 3.586 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003728/0.3197, allocations: 2.098 MB / 394.7 MB, free: 2.242 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.3199, allocations: 222.9 kB / 394.9 MB, free: 2.141 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005447/0.3204, allocations: 290.1 kB / 395.2 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007176/0.3276, allocations: 4.202 MB / 399.4 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.209e-05/0.3277, allocations: 0 / 399.4 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003151/0.328, allocations: 120.3 kB / 399.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/0.3282, allocations: 138.9 kB / 399.6 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006383/0.3346, allocations: 3.506 MB / 403.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01979/0.3544, allocations: 10.98 MB / 414.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002978/0.3574, allocations: 2.647 MB / 416.8 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002471/0.3599, allocations: 1.48 MB / 418.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.3602, allocations: 120.7 kB / 418.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.3603, allocations: 58.89 kB / 418.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 4.077e-06/0.3603, allocations: 3.938 kB / 418.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=133): time 0.009297/0.3696, allocations: 5.201 MB / 423.6 MB, free: 8.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.3697, allocations: 94.41 kB / 423.7 MB, free: 7.969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/0.3727, allocations: 1.914 MB / 425.6 MB, free: 6.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.3728, allocations: 46.8 kB / 425.7 MB, free: 6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009323/0.3738, allocations: 1.326 MB / 427 MB, free: 4.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003915/0.3742, allocations: 461.7 kB / 427.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.3744, allocations: 121.6 kB / 427.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3745, allocations: 305.1 kB / 427.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.3757, allocations: 0.8198 MB / 428.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.3772, allocations: 1.186 MB / 429.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/0.3799, allocations: 2.098 MB / 432 MB, free: 15.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.3799, allocations: 4 kB / 432 MB, free: 15.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004176/0.3841, allocations: 2.54 MB / 434.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3841, allocations: 8 kB / 434.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.3842, allocations: 11.98 kB / 434.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/0.3861, allocations: 476.4 kB / 435 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.3875, allocations: 339.5 kB / 435.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004955/0.3924, allocations: 4.068 MB / 439.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.3941, allocations: 89.16 kB / 439.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.3943, allocations: 63.98 kB / 439.5 MB, free: 7.734 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.00211/0.3964, allocations: 1.049 MB / 440.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005319/0.3969, allocations: 193.7 kB / 440.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003638/0.4006, allocations: 2.162 MB / 442.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.703e-05/0.4006, allocations: 16 kB / 443 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4006, allocations: 4 kB / 443 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.4007, allocations: 7.969 kB / 443 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008286/0.4089, allocations: 5.216 MB / 448.2 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.409, allocations: 0 / 448.2 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.41, allocations: 235.9 kB / 448.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/0.4119, allocations: 459.1 kB / 448.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-05/0.412, allocations: 39.98 kB / 448.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004745/0.4167, allocations: 3.971 MB / 452.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4168, allocations: 0 / 452.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004933/0.4217, allocations: 3.267 MB / 456.1 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.4227, allocations: 466.7 kB / 456.6 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/0.423, allocations: 34.91 kB / 456.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.4241, allocations: 99.97 kB / 456.7 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.4243, allocations: 100.8 kB / 456.8 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-05/0.4244, allocations: 39.98 kB / 456.9 MB, free: 6.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001996/0.4264, allocations: 1.342 MB / 458.2 MB, free: 4.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4264, allocations: 0 / 458.2 MB, free: 4.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001927/0.4284, allocations: 0.5547 MB / 458.8 MB, free: 4.234 MB / 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.0005664/0.4289, allocations: 223.8 kB / 459 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00345/0.4324, allocations: 2.204 MB / 461.2 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4324, allocations: 0 / 461.2 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001885/0.4343, allocations: 1.215 MB / 462.4 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/0.4375, allocations: 492.8 kB / 462.9 MB, free: 100 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.4478, allocations: 7.068 MB / 470 MB, free: 8.977 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/0.4499, allocations: 2.371 MB / 472.3 MB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007411/0.4507, allocations: 143.4 kB / 472.5 MB, free: 6.438 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4507, allocations: 0 / 472.5 MB, free: 6.438 MB / 382.1 MB Notification: Performance of Templates: time 0.05999/0.5107, allocations: 50.58 MB / 0.5108 GB, free: 3.973 MB / 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.0.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