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.001337/0.001337, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001551/0.001551, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 56.5 kB / 306.9 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1014, allocations: 50.53 MB / 357.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009039/0.1105, allocations: 7.749 MB / 365.2 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005728/0.1163, allocations: 2.687 MB / 367.9 MB, free: 4.027 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.1182, allocations: 63.69 kB / 367.9 MB, free: 3.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.1203, allocations: 489.4 kB / 368.4 MB, free: 3.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.1231, allocations: 0.6802 MB / 369.1 MB, free: 2.801 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.1243, allocations: 371.6 kB / 369.5 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1713/0.2957, allocations: 3.673 MB / 373.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004826/0.3005, allocations: 2.959 MB / 376.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.3043, allocations: 1.436 MB / 377.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/0.3078, allocations: 1.95 MB / 379.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.309, allocations: 290.4 kB / 379.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.3111, allocations: 0.5005 MB / 380.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001843/0.313, allocations: 1.062 MB / 381.3 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004332/0.3173, allocations: 1.783 MB / 383.1 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005907/0.3232, allocations: 5.106 MB / 388.2 MB, free: 5.391 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3233, allocations: 0 / 388.2 MB, free: 5.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3233, allocations: 0 / 388.2 MB, free: 5.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002241/0.3235, allocations: 0 / 388.2 MB, free: 5.391 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.01075/0.3343, allocations: 3.802 MB / 392 MB, free: 2.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3343, allocations: 16.78 kB / 392 MB, free: 2.836 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/0.3366, allocations: 426.2 kB / 392.4 MB, free: 2.637 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004354/0.341, allocations: 2.095 MB / 394.5 MB, free: 1.293 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/0.3412, allocations: 222.7 kB / 394.7 MB, free: 1.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008897/0.3421, allocations: 292 kB / 395 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006869/0.349, allocations: 4.191 MB / 399.2 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/0.3491, allocations: 0 / 399.2 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002811/0.3494, allocations: 121.3 kB / 399.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.3495, allocations: 147.2 kB / 399.5 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005769/0.3553, allocations: 3.48 MB / 403 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01831/0.3736, allocations: 10.91 MB / 413.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002882/0.3765, allocations: 2.644 MB / 416.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002382/0.3789, allocations: 1.477 MB / 418 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000253/0.3792, allocations: 123.8 kB / 418.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.3793, allocations: 47.5 kB / 418.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 3.717e-06/0.3793, allocations: 0 / 418.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=133): time 0.009532/0.3888, allocations: 5.17 MB / 423.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.3889, allocations: 94.42 kB / 423.4 MB, free: 7.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/0.3919, allocations: 1.915 MB / 425.3 MB, free: 5.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.3921, allocations: 57.38 kB / 425.4 MB, free: 5.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000873/0.393, allocations: 1.321 MB / 426.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004018/0.3934, allocations: 459.6 kB / 427.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004292/0.3938, allocations: 262 kB / 427.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.3939, allocations: 309.1 kB / 427.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.3952, allocations: 0.8159 MB / 428.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.3966, allocations: 1.181 MB / 429.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/0.3993, allocations: 2.085 MB / 431.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.3994, allocations: 7.938 kB / 431.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004301/0.4037, allocations: 2.527 MB / 434.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.4037, allocations: 8 kB / 434.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.4037, allocations: 8 kB / 434.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/0.4057, allocations: 483.1 kB / 434.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.4071, allocations: 329.1 kB / 435.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005051/0.4122, allocations: 4.068 MB / 439.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.4139, allocations: 83.77 kB / 439.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/0.4142, allocations: 63.98 kB / 439.4 MB, free: 7.023 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.001932/0.4162, allocations: 1.057 MB / 440.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006421/0.4168, allocations: 197.2 kB / 440.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003756/0.4206, allocations: 2.14 MB / 442.8 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.864e-05/0.4206, allocations: 16 kB / 442.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.4206, allocations: 4 kB / 442.8 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.4207, allocations: 7.969 kB / 442.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009421/0.4301, allocations: 5.184 MB / 448 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.4301, allocations: 4 kB / 448 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.4312, allocations: 226 kB / 448.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001884/0.4331, allocations: 464.4 kB / 448.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.4332, allocations: 35.66 kB / 448.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004789/0.438, allocations: 3.968 MB / 452.7 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.438, allocations: 0 / 452.7 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00525/0.4433, allocations: 3.246 MB / 455.9 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/0.4444, allocations: 454.7 kB / 456.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005156/0.445, allocations: 35.92 kB / 456.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.4463, allocations: 98.78 kB / 456.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/0.4465, allocations: 92.33 kB / 456.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.4467, allocations: 43.98 kB / 456.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00229/0.449, allocations: 1.338 MB / 457.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.449, allocations: 0 / 457.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002243/0.4512, allocations: 0.5586 MB / 458.5 MB, free: 3.719 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.0006232/0.4519, allocations: 238.6 kB / 458.7 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003531/0.4554, allocations: 2.177 MB / 460.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.4554, allocations: 0 / 460.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.4573, allocations: 1.218 MB / 462.1 MB, free: 116 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/0.4605, allocations: 493.8 kB / 462.6 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.4721, allocations: 7.015 MB / 469.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002217/0.4743, allocations: 2.371 MB / 472 MB, free: 6.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007546/0.4751, allocations: 143.4 kB / 472.1 MB, free: 6.031 MB / 382.1 MB Notification: Performance of SimCode: time 1.814e-06/0.4751, allocations: 0 / 472.1 MB, free: 6.031 MB / 382.1 MB Notification: Performance of Templates: time 0.06634/0.5415, allocations: 50.97 MB / 0.5108 GB, free: 3.172 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