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.001557/0.001557, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00194/0.001941, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 65.3 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08672/0.08788, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008446/0.09637, allocations: 7.776 MB / 366.7 MB, free: 5.527 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004788/0.1012, allocations: 2.73 MB / 369.4 MB, free: 2.789 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006907/0.1019, allocations: 71.69 kB / 369.5 MB, free: 2.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.103, allocations: 0.5625 MB / 370 MB, free: 2.152 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.1046, allocations: 0.738 MB / 370.8 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007285/0.1053, allocations: 415.4 kB / 371.2 MB, free: 1.004 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1519/0.2572, allocations: 3.286 MB / 374.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003611/0.2609, allocations: 3.584 MB / 378.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00265/0.2635, allocations: 1.664 MB / 379.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.266, allocations: 2.028 MB / 381.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006131/0.2666, allocations: 466 kB / 382.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.2678, allocations: 0.6558 MB / 382.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.2688, allocations: 1.244 MB / 384.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002089/0.2709, allocations: 1.964 MB / 386.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005236/0.2762, allocations: 6.099 MB / 392.2 MB, free: 4.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2762, allocations: 3.984 kB / 392.2 MB, free: 4.184 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2762, allocations: 1.375 kB / 392.2 MB, free: 4.184 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001145/0.2763, allocations: 0 / 392.2 MB, free: 4.184 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.007351/0.2837, allocations: 3.81 MB / 396 MB, free: 1.629 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2837, allocations: 9.531 kB / 396 MB, free: 1.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.285, allocations: 432.6 kB / 396.4 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003501/0.2885, allocations: 2.175 MB / 398.6 MB, free: 40 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.2888, allocations: 230.5 kB / 398.8 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003934/0.2892, allocations: 296.1 kB / 399.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006427/0.2956, allocations: 4.186 MB / 403.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/0.2957, allocations: 3.984 kB / 403.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002681/0.2959, allocations: 127.1 kB / 403.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000152/0.2961, allocations: 137.9 kB / 403.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005441/0.3015, allocations: 3.489 MB / 407 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01792/0.3195, allocations: 10.75 MB / 417.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/0.3223, allocations: 2.649 MB / 420.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002246/0.3245, allocations: 1.472 MB / 421.9 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.3248, allocations: 118.1 kB / 422 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.3248, allocations: 62.86 kB / 422.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 3.757e-06/0.3248, allocations: 0 / 422.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=133): time 0.009512/0.3344, allocations: 5.165 MB / 427.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.3345, allocations: 90.42 kB / 427.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003732/0.3382, allocations: 1.918 MB / 429.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001447/0.3384, allocations: 45.7 kB / 429.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.3396, allocations: 1.331 MB / 430.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004855/0.3401, allocations: 455.2 kB / 431.1 MB, free: 440 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006222/0.3407, allocations: 271.4 kB / 431.4 MB, free: 164 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3409, allocations: 309.1 kB / 431.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.3426, allocations: 0.8159 MB / 432.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/0.3447, allocations: 1.178 MB / 433.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004078/0.3488, allocations: 2.096 MB / 435.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.3489, allocations: 0 / 435.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005725/0.3546, allocations: 2.523 MB / 438.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.3547, allocations: 12 kB / 438.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.3547, allocations: 11.98 kB / 438.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/0.3566, allocations: 476.8 kB / 438.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.3579, allocations: 335.5 kB / 439.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006572/0.3645, allocations: 4.393 MB / 443.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.3667, allocations: 91.89 kB / 443.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/0.3669, allocations: 52 kB / 443.6 MB, free: 3.559 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.002498/0.3694, allocations: 1.059 MB / 444.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007314/0.3702, allocations: 193.7 kB / 444.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005303/0.3755, allocations: 2.14 MB / 447 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.683e-05/0.3755, allocations: 20 kB / 447 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.3756, allocations: 8 kB / 447 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.3756, allocations: 7.969 kB / 447 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.3872, allocations: 5.172 MB / 452.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.3872, allocations: 0 / 452.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.3882, allocations: 227.6 kB / 452.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/0.3901, allocations: 460.9 kB / 452.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.765e-05/0.3902, allocations: 27.98 kB / 452.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0052/0.3954, allocations: 4.301 MB / 457.2 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.3955, allocations: 4 kB / 457.2 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005101/0.4006, allocations: 3.251 MB / 460.5 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/0.4018, allocations: 462.7 kB / 460.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/0.4021, allocations: 32 kB / 460.9 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.4032, allocations: 91.97 kB / 461 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/0.4034, allocations: 100.7 kB / 461.1 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.4035, allocations: 39.98 kB / 461.2 MB, free: 1.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00198/0.4055, allocations: 1.346 MB / 462.5 MB, free: 376 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4055, allocations: 0 / 462.5 MB, free: 376 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001775/0.4073, allocations: 0.5578 MB / 463.1 MB, free: 15.81 MB / 382.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.0005257/0.4079, allocations: 222.5 kB / 463.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003453/0.4113, allocations: 2.205 MB / 465.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.4113, allocations: 3.938 kB / 465.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.4132, allocations: 1.203 MB / 466.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.4154, allocations: 0.5114 MB / 467.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009735/0.4252, allocations: 5.709 MB / 472.9 MB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/0.4274, allocations: 2.431 MB / 475.4 MB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001464/0.4288, allocations: 495.4 kB / 475.8 MB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/0.4293, allocations: 139.3 kB / 476 MB, free: 2.816 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4293, allocations: 0 / 476 MB, free: 2.816 MB / 382.1 MB Notification: Performance of Templates: time 0.05052/0.4798, allocations: 30.17 MB / 0.4943 GB, free: 4.957 MB / 414.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 -s gbode -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