Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001615, allocations: 112.2 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 187.1 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 51.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.22, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008463/0.2285, allocations: 7.781 MB / 409.2 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00456/0.2331, allocations: 2.652 MB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.2341, allocations: 71.69 kB / 411.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.2354, allocations: 0.552 MB / 412.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.2372, allocations: 0.738 MB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007694/0.238, allocations: 415.4 kB / 413.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003/0.241, allocations: 3.276 MB / 416.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003655/0.2446, allocations: 3.592 MB / 420.5 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.2472, allocations: 1.663 MB / 422.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/0.2499, allocations: 2.032 MB / 424.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006936/0.2506, allocations: 464 kB / 424.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.2518, allocations: 0.6714 MB / 425.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.2529, allocations: 1.239 MB / 426.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002041/0.2549, allocations: 1.972 MB / 428.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005612/0.2606, allocations: 6.099 MB / 434.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2606, allocations: 7.938 kB / 434.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2606, allocations: 0 / 434.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.215e-05/0.2607, allocations: 0 / 434.6 MB, free: 7.52 MB / 350.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.007682/0.2684, allocations: 3.798 MB / 438.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2684, allocations: 8.031 kB / 438.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009416/0.2694, allocations: 388.7 kB / 438.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003326/0.2727, allocations: 2.147 MB / 440.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.2729, allocations: 229.8 kB / 441.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004145/0.2733, allocations: 280 kB / 441.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00675/0.2801, allocations: 4.198 MB / 445.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.2801, allocations: 0 / 445.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002847/0.2804, allocations: 124 kB / 445.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/0.2806, allocations: 137.9 kB / 445.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005603/0.2862, allocations: 3.49 MB / 449.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01718/0.3034, allocations: 10.75 MB / 460.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/0.3063, allocations: 2.651 MB / 462.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002508/0.3089, allocations: 1.497 MB / 464.3 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002478/0.3091, allocations: 122.2 kB / 464.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.3092, allocations: 55.44 kB / 464.5 MB, free: 9.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.747e-06/0.3092, allocations: 0 / 464.5 MB, free: 9.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.009206/0.3184, allocations: 5.176 MB / 469.6 MB, free: 3.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.3185, allocations: 90.42 kB / 469.7 MB, free: 3.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/0.3211, allocations: 1.906 MB / 471.6 MB, free: 1.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.3213, allocations: 57.69 kB / 471.7 MB, free: 1.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008768/0.3221, allocations: 1.314 MB / 473 MB, free: 412 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/0.3225, allocations: 461.3 kB / 473.4 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004098/0.3229, allocations: 271.3 kB / 473.7 MB, free: 15.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.323, allocations: 309.1 kB / 474 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.3243, allocations: 0.8159 MB / 474.8 MB, free: 14.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.3258, allocations: 1.19 MB / 476 MB, free: 13.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002752/0.3285, allocations: 2.082 MB / 478.1 MB, free: 10.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3286, allocations: 0 / 478.1 MB, free: 10.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004119/0.3327, allocations: 2.519 MB / 480.6 MB, free: 8.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.3327, allocations: 14.97 kB / 480.6 MB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.3327, allocations: 8 kB / 480.6 MB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001877/0.3346, allocations: 483.8 kB / 481.1 MB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.336, allocations: 331.5 kB / 481.4 MB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005495/0.3415, allocations: 4.399 MB / 485.8 MB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.3429, allocations: 91.81 kB / 485.9 MB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.343, allocations: 63.98 kB / 486 MB, free: 2.953 MB / 398.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.001738/0.3448, allocations: 1.044 MB / 487 MB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004741/0.3453, allocations: 185.8 kB / 487.2 MB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.3489, allocations: 2.145 MB / 489.4 MB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.905e-05/0.349, allocations: 16 kB / 489.4 MB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.349, allocations: 4 kB / 489.4 MB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.349, allocations: 7.969 kB / 489.4 MB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008632/0.3577, allocations: 5.174 MB / 494.6 MB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.3577, allocations: 4 kB / 494.6 MB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.3587, allocations: 235.8 kB / 494.8 MB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00173/0.3605, allocations: 452.8 kB / 495.2 MB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.212e-05/0.3606, allocations: 39.98 kB / 495.3 MB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0053/0.3659, allocations: 4.292 MB / 499.6 MB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3659, allocations: 0 / 499.6 MB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005252/0.3712, allocations: 3.259 MB / 0.491 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.3723, allocations: 450.8 kB / 0.4915 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.3726, allocations: 28.06 kB / 0.4915 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009953/0.3736, allocations: 99.89 kB / 0.4916 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/0.3738, allocations: 100.7 kB / 0.4917 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.3739, allocations: 43.98 kB / 0.4917 GB, free: 1.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001975/0.3759, allocations: 1.33 MB / 0.493 GB, free: 15.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3759, allocations: 3.938 kB / 0.493 GB, free: 15.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001827/0.3778, allocations: 0.5508 MB / 0.4936 GB, free: 15.2 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.0006107/0.3784, allocations: 232.5 kB / 0.4938 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003511/0.3819, allocations: 2.185 MB / 0.4959 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.3819, allocations: 8 kB / 0.4959 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001823/0.3838, allocations: 1.214 MB / 0.4971 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.3862, allocations: 0.5117 MB / 0.4976 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009926/0.3961, allocations: 5.683 MB / 0.5032 GB, free: 5.281 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/0.3981, allocations: 2.366 MB / 0.5055 GB, free: 2.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007009/0.3989, allocations: 147.4 kB / 0.5056 GB, free: 2.742 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3989, allocations: 3.938 kB / 0.5056 GB, free: 2.738 MB / 430.1 MB Notification: Performance of Templates: time 0.2477/0.6466, allocations: 51.16 MB / 0.5556 GB, free: 125.1 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches