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.001102/0.001102, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.91 kB / 306.9 MB, free: 0.6641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08531/0.08651, allocations: 50.55 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008962/0.09551, allocations: 7.769 MB / 365.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004919/0.1005, allocations: 2.722 MB / 368 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.1018, allocations: 67.69 kB / 368 MB, free: 3.512 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.1035, allocations: 0.5705 MB / 368.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.1057, allocations: 0.7263 MB / 369.3 MB, free: 2.207 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1069, allocations: 423.4 kB / 369.7 MB, free: 1.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1537/0.2606, allocations: 3.259 MB / 373 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004234/0.2649, allocations: 3.594 MB / 376.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.2679, allocations: 1.661 MB / 378.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/0.2704, allocations: 2.031 MB / 380.3 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007756/0.2711, allocations: 460.6 kB / 380.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.2724, allocations: 0.6501 MB / 381.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.2734, allocations: 1.239 MB / 382.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0019/0.2753, allocations: 1.974 MB / 384.6 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00518/0.2805, allocations: 6.046 MB / 390.7 MB, free: 4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2805, allocations: 1.375 kB / 390.7 MB, free: 4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2805, allocations: 0 / 390.7 MB, free: 4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.735e-05/0.2806, allocations: 0 / 390.7 MB, free: 4 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.00637/0.287, allocations: 3.807 MB / 394.5 MB, free: 1.445 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.287, allocations: 8.5 kB / 394.5 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.2883, allocations: 426.3 kB / 394.9 MB, free: 1.246 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/0.291, allocations: 2.106 MB / 397 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.2911, allocations: 218.5 kB / 397.2 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000368/0.2915, allocations: 292.3 kB / 397.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006037/0.2976, allocations: 4.191 MB / 401.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.397e-05/0.2976, allocations: 4 kB / 401.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002704/0.2979, allocations: 116 kB / 401.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001526/0.298, allocations: 141.6 kB / 401.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005225/0.3033, allocations: 3.486 MB / 405.4 MB, free: 9.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/0.319, allocations: 10.91 MB / 416.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.3218, allocations: 2.652 MB / 419 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/0.3241, allocations: 1.479 MB / 420.5 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.3244, allocations: 120 kB / 420.6 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.3244, allocations: 55.5 kB / 420.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 3.727e-06/0.3244, allocations: 0 / 420.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=133): time 0.009065/0.3335, allocations: 5.167 MB / 425.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.3336, allocations: 94.42 kB / 425.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.3365, allocations: 1.918 MB / 427.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.762e-05/0.3366, allocations: 49.7 kB / 427.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009481/0.3376, allocations: 1.325 MB / 429.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.3379, allocations: 460.6 kB / 429.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004204/0.3384, allocations: 266.9 kB / 429.9 MB, free: 440 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3385, allocations: 301.1 kB / 430.2 MB, free: 136 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.3396, allocations: 0.8159 MB / 431 MB, free: 15.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.3411, allocations: 1.183 MB / 432.2 MB, free: 14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.3438, allocations: 2.088 MB / 434.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.3439, allocations: 4 kB / 434.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003946/0.3478, allocations: 2.525 MB / 436.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3478, allocations: 8 kB / 436.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.3479, allocations: 8 kB / 436.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.3497, allocations: 488.1 kB / 437.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.351, allocations: 332 kB / 437.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005186/0.3562, allocations: 4.396 MB / 442 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.3577, allocations: 83.89 kB / 442.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.3578, allocations: 63.98 kB / 442.2 MB, free: 3.883 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.001681/0.3595, allocations: 1.06 MB / 443.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004392/0.3599, allocations: 189.8 kB / 443.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/0.3634, allocations: 2.139 MB / 445.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/0.3634, allocations: 20 kB / 445.6 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.3634, allocations: 7.984 kB / 445.6 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.3635, allocations: 3.984 kB / 445.6 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008309/0.3718, allocations: 5.19 MB / 450.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.3718, allocations: 4 kB / 450.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009744/0.3728, allocations: 234.5 kB / 451 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/0.3745, allocations: 460.7 kB / 451.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.563e-05/0.3746, allocations: 35.98 kB / 451.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00527/0.3799, allocations: 4.307 MB / 455.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3799, allocations: 0 / 455.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005171/0.3851, allocations: 3.255 MB / 459 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.3862, allocations: 450.8 kB / 459.5 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/0.3864, allocations: 35.98 kB / 459.5 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.3875, allocations: 91.97 kB / 459.6 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/0.3877, allocations: 100.4 kB / 459.7 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.199e-05/0.3878, allocations: 39.98 kB / 459.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001964/0.3898, allocations: 1.342 MB / 461.1 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3898, allocations: 0 / 461.1 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001829/0.3916, allocations: 0.5537 MB / 461.6 MB, free: 236 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.0005371/0.3922, allocations: 231.4 kB / 461.9 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005218/0.3974, allocations: 2.864 MB / 464.7 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.3974, allocations: 3.938 kB / 464.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.3993, allocations: 1.211 MB / 466 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.4018, allocations: 0.5043 MB / 466.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008836/0.4106, allocations: 5.775 MB / 472.2 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002038/0.4127, allocations: 2.431 MB / 474.7 MB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001377/0.414, allocations: 0.4954 MB / 475.2 MB, free: 2.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.4144, allocations: 131.4 kB / 475.3 MB, free: 2.578 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4145, allocations: 0 / 475.3 MB, free: 2.578 MB / 382.1 MB Notification: Performance of Templates: time 0.04836/0.4628, allocations: 30.16 MB / 0.4936 GB, free: 4.754 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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