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.001919/0.001919, allocations: 109.4 kB / 17.16 MB, free: 6.344 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.002266/0.002266, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.077/2.077, allocations: 222.9 MB / 241.8 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.001961, allocations: 50.09 kB / 300.6 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1687, allocations: 49.45 MB / 350.1 MB, free: 4.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01562/0.1844, allocations: 7.724 MB / 357.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009775/0.1942, allocations: 2.621 MB / 360.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003086/0.1974, allocations: 63.69 kB / 360.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.2006, allocations: 489.4 kB / 361 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004366/0.205, allocations: 0.6841 MB / 361.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.2071, allocations: 363.6 kB / 362 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008873/0.2161, allocations: 3.678 MB / 365.7 MB, free: 4.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00713/0.2233, allocations: 2.963 MB / 368.6 MB, free: 1.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00589/0.2292, allocations: 1.416 MB / 370 MB, free: 484 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3251/0.5544, allocations: 1.942 MB / 372 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002563/0.557, allocations: 291.1 kB / 372.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003798/0.5608, allocations: 0.5166 MB / 372.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00368/0.5646, allocations: 1.06 MB / 373.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006159/0.5708, allocations: 1.781 MB / 375.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.5808, allocations: 5.098 MB / 380.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.5809, allocations: 0 / 380.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5809, allocations: 1.781 kB / 380.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000258/0.5812, allocations: 0 / 380.7 MB, free: 11.41 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.0196/0.6008, allocations: 3.789 MB / 384.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.495e-05/0.6009, allocations: 10.47 kB / 384.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002854/0.6038, allocations: 389.1 kB / 384.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007295/0.6111, allocations: 2.088 MB / 387 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003423/0.6115, allocations: 219.5 kB / 387.2 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001448/0.613, allocations: 285.4 kB / 387.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/0.6307, allocations: 4.193 MB / 391.7 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/0.6309, allocations: 4.875 kB / 391.7 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001299/0.6322, allocations: 121.7 kB / 391.8 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003367/0.6326, allocations: 135.2 kB / 391.9 MB, free: 4.809 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01557/0.6481, allocations: 3.496 MB / 395.4 MB, free: 2.969 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04001/0.6882, allocations: 10.9 MB / 406.3 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005582/0.6938, allocations: 2.649 MB / 409 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004291/0.6982, allocations: 1.476 MB / 410.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000438/0.6987, allocations: 125 kB / 410.6 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.795e-05/0.6988, allocations: 61.66 kB / 410.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 6.171e-06/0.6988, allocations: 0 / 410.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01777/0.7166, allocations: 5.166 MB / 415.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.7167, allocations: 90.42 kB / 415.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007083/0.7238, allocations: 1.909 MB / 417.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004421/0.7243, allocations: 45.7 kB / 417.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001793/0.7261, allocations: 1.326 MB / 419.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009852/0.7271, allocations: 455.3 kB / 419.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001299/0.7285, allocations: 274.6 kB / 419.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.7287, allocations: 301.1 kB / 420.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00253/0.7312, allocations: 0.8159 MB / 421 MB, free: 12.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002893/0.7341, allocations: 1.184 MB / 422.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005767/0.7399, allocations: 2.088 MB / 424.3 MB, free: 8.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/0.74, allocations: 4 kB / 424.3 MB, free: 8.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.008642/0.7486, allocations: 2.52 MB / 426.8 MB, free: 6.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.889e-05/0.7487, allocations: 9.875 kB / 426.8 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.54e-05/0.7488, allocations: 12 kB / 426.8 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003339/0.7522, allocations: 479 kB / 427.3 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/0.7548, allocations: 325.6 kB / 427.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009365/0.7641, allocations: 4.056 MB / 431.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003385/0.7676, allocations: 86.95 kB / 431.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005804/0.7682, allocations: 59.98 kB / 431.8 MB, free: 1.176 MB / 334.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.004318/0.7725, allocations: 1.048 MB / 432.9 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/0.774, allocations: 195.4 kB / 433 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007383/0.7814, allocations: 2.142 MB / 435.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.779e-05/0.7816, allocations: 16 kB / 435.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.491e-05/0.7816, allocations: 4 kB / 435.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.381e-05/0.7816, allocations: 7.969 kB / 435.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01981/0.8015, allocations: 5.193 MB / 440.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/0.8016, allocations: 0 / 440.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/0.8035, allocations: 227 kB / 440.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003138/0.8066, allocations: 464.8 kB / 441.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003258/0.807, allocations: 35.98 kB / 441.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009285/0.8163, allocations: 3.944 MB / 445.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/0.8164, allocations: 4.031 kB / 445.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.8267, allocations: 3.251 MB / 448.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002275/0.8291, allocations: 458.7 kB / 448.8 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001504/0.8306, allocations: 38.89 kB / 448.8 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002847/0.8335, allocations: 96.2 kB / 448.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005664/0.8341, allocations: 92.8 kB / 449 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002886/0.8344, allocations: 43.98 kB / 449 MB, free: 15.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00484/0.8393, allocations: 1.341 MB / 450.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.8393, allocations: 0 / 450.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005093/0.8444, allocations: 0.5617 MB / 450.9 MB, free: 13.88 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.001302/0.8458, allocations: 225.8 kB / 451.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007264/0.8531, allocations: 2.183 MB / 453.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.879e-05/0.8532, allocations: 4 kB / 453.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004021/0.8572, allocations: 1.208 MB / 454.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006177/0.8634, allocations: 495.7 kB / 455 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02475/0.8882, allocations: 7.012 MB / 462 MB, free: 2.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005915/0.8942, allocations: 2.367 MB / 464.4 MB, free: 404 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/0.8958, allocations: 143.4 kB / 464.6 MB, free: 260 kB / 366.1 MB Notification: Performance of SimCode: time 1.824e-06/0.8958, allocations: 0 / 464.6 MB, free: 260 kB / 366.1 MB Notification: Performance of Templates: time 0.1277/1.024, allocations: 50.91 MB / 0.5034 GB, free: 13.51 MB / 430.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