Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001502/0.001502, allocations: 106.2 kB / 18.25 MB, free: 4.766 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.001779/0.001779, allocations: 195.3 kB / 19.18 MB, free: 3.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.1 MB / 225 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 55.92 kB / 281.3 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07444/0.07568, allocations: 46.63 MB / 328 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008526/0.08425, allocations: 7.718 MB / 335.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004856/0.08914, allocations: 2.719 MB / 338.4 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.09038, allocations: 59.69 kB / 338.4 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.09176, allocations: 0.5667 MB / 339 MB, free: 9.348 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.09378, allocations: 0.7302 MB / 339.7 MB, free: 8.613 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009247/0.09472, allocations: 439.4 kB / 340.2 MB, free: 8.184 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003529/0.09827, allocations: 3.386 MB / 343.6 MB, free: 4.785 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003652/0.1019, allocations: 3.441 MB / 347 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/0.1048, allocations: 1.65 MB / 348.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002983/0.1078, allocations: 2.024 MB / 350.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007564/0.1086, allocations: 464 kB / 351.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.1099, allocations: 0.6636 MB / 351.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.111, allocations: 1.247 MB / 353 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002146/0.1131, allocations: 1.964 MB / 355 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005478/0.1186, allocations: 6.037 MB / 361 MB, free: 3.215 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1187, allocations: 3.938 kB / 361 MB, free: 3.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1187, allocations: 0 / 361 MB, free: 3.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001242/0.1188, allocations: 0 / 361 MB, free: 3.211 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.007817/0.1266, allocations: 3.775 MB / 364.8 MB, free: 15.37 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1267, allocations: 8.031 kB / 364.8 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009819/0.1277, allocations: 392.6 kB / 365.2 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/0.1309, allocations: 1.952 MB / 367.2 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.1311, allocations: 225.8 kB / 367.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000437/0.1315, allocations: 287.9 kB / 367.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006863/0.1384, allocations: 4.187 MB / 371.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.001e-05/0.1385, allocations: 3.938 kB / 371.9 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/0.1388, allocations: 120 kB / 372 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/0.139, allocations: 137.9 kB / 372.1 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005843/0.1448, allocations: 3.486 MB / 375.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1574/0.3023, allocations: 10.94 MB / 386.5 MB, free: 46.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.305, allocations: 2.65 MB / 389.2 MB, free: 44.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002396/0.3074, allocations: 1.477 MB / 390.7 MB, free: 44.15 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/0.3077, allocations: 125 kB / 390.8 MB, free: 44.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.3078, allocations: 46.16 kB / 390.8 MB, free: 44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 5.841e-06/0.3078, allocations: 0 / 390.8 MB, free: 44 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.009141/0.3169, allocations: 5.287 MB / 396.1 MB, free: 41.49 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.317, allocations: 94.8 kB / 396.2 MB, free: 41.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002984/0.32, allocations: 1.91 MB / 398.1 MB, free: 40.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002172/0.3203, allocations: 49.67 kB / 398.2 MB, free: 40.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006972/0.321, allocations: 1.316 MB / 399.5 MB, free: 39.2 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.3213, allocations: 464 kB / 399.9 MB, free: 38.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003611/0.3217, allocations: 273.5 kB / 400.2 MB, free: 38.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.3217, allocations: 313 kB / 400.5 MB, free: 38.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.3227, allocations: 0.8144 MB / 401.3 MB, free: 37.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.3239, allocations: 1.177 MB / 402.5 MB, free: 37.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/0.326, allocations: 2.091 MB / 404.6 MB, free: 35.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/0.326, allocations: 7.531 kB / 404.6 MB, free: 35.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003624/0.3296, allocations: 2.521 MB / 407.1 MB, free: 34.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.3297, allocations: 12 kB / 407.1 MB, free: 34.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.3297, allocations: 8.609 kB / 407.1 MB, free: 34.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/0.3314, allocations: 487.1 kB / 407.6 MB, free: 33.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.3326, allocations: 327.5 kB / 407.9 MB, free: 33.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/0.3368, allocations: 4.412 MB / 412.3 MB, free: 28.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.3382, allocations: 91.89 kB / 412.4 MB, free: 28.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.3384, allocations: 59.98 kB / 412.5 MB, free: 28.8 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.001367/0.3397, allocations: 1.048 MB / 413.5 MB, free: 27.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003995/0.3401, allocations: 195.2 kB / 413.7 MB, free: 27.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002841/0.343, allocations: 2.143 MB / 415.9 MB, free: 25.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/0.343, allocations: 16 kB / 415.9 MB, free: 25.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3431, allocations: 4 kB / 415.9 MB, free: 25.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.3431, allocations: 8.578 kB / 415.9 MB, free: 25.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007117/0.3502, allocations: 5.185 MB / 421.1 MB, free: 20.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.3502, allocations: 8.031 kB / 421.1 MB, free: 20.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009208/0.3512, allocations: 227.6 kB / 421.3 MB, free: 19.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/0.3528, allocations: 469.7 kB / 421.8 MB, free: 19.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-05/0.3529, allocations: 31.98 kB / 421.8 MB, free: 19.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003936/0.3568, allocations: 4.298 MB / 426.1 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3569, allocations: 4.031 kB / 426.1 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004294/0.3612, allocations: 3.25 MB / 429.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009744/0.3622, allocations: 458.7 kB / 429.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.3625, allocations: 30.83 kB / 429.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009727/0.3634, allocations: 95.97 kB / 429.9 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.3637, allocations: 108.7 kB / 430 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.331e-05/0.3638, allocations: 39.98 kB / 430.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001553/0.3653, allocations: 1.346 MB / 431.4 MB, free: 9.598 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3653, allocations: 0 / 431.4 MB, free: 9.598 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001711/0.367, allocations: 0.5539 MB / 432 MB, free: 9.051 MB / 318.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.0005306/0.3676, allocations: 207.1 kB / 432.2 MB, free: 8.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004453/0.372, allocations: 2.869 MB / 435 MB, free: 5.977 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.3721, allocations: 4 kB / 435 MB, free: 5.973 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.3737, allocations: 1.215 MB / 436.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/0.3761, allocations: 0.5219 MB / 436.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00855/0.3847, allocations: 5.788 MB / 442.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001994/0.3867, allocations: 2.366 MB / 444.9 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006951/0.3874, allocations: 147.4 kB / 445.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3875, allocations: 0 / 445.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of Templates: time 0.06597/0.4534, allocations: 50.92 MB / 496 MB, free: 8.824 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches