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.001076/0.001076, allocations: 107.9 kB / 18.4 MB, free: 4.656 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.001114/0.001114, allocations: 190.5 kB / 19.33 MB, free: 3.734 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.259/1.259, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001087/0.001088, allocations: 47.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07832/0.07941, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.1676/0.2471, allocations: 7.71 MB / 383.5 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004128/0.2513, allocations: 2.742 MB / 386.3 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006245/0.2519, allocations: 56.97 kB / 386.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.253, allocations: 0.5634 MB / 386.9 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.2545, allocations: 0.7347 MB / 387.6 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000785/0.2553, allocations: 443.6 kB / 388.1 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002864/0.2581, allocations: 3.404 MB / 391.5 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003147/0.2613, allocations: 3.434 MB / 394.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002753/0.2641, allocations: 1.659 MB / 396.6 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.2666, allocations: 2.023 MB / 398.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006238/0.2673, allocations: 461.9 kB / 399 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.2685, allocations: 0.6647 MB / 399.7 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.2695, allocations: 1.249 MB / 400.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001824/0.2714, allocations: 1.961 MB / 402.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005598/0.277, allocations: 6.101 MB / 409 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.277, allocations: 1.469 kB / 409 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.277, allocations: 4 kB / 409 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.393e-05/0.2771, allocations: 0 / 409 MB, free: 12.05 MB / 334.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.007037/0.2842, allocations: 3.773 MB / 412.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2842, allocations: 9.625 kB / 412.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009301/0.2851, allocations: 389 kB / 413.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/0.2879, allocations: 1.966 MB / 415.1 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.2881, allocations: 228.3 kB / 415.4 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003884/0.2885, allocations: 293.9 kB / 415.7 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006308/0.2948, allocations: 4.183 MB / 419.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/0.2948, allocations: 0 / 419.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002658/0.2951, allocations: 120 kB / 420 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/0.2953, allocations: 137.9 kB / 420.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005111/0.3004, allocations: 3.486 MB / 423.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01534/0.3157, allocations: 10.78 MB / 434.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.3183, allocations: 2.638 MB / 437 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/0.3206, allocations: 1.497 MB / 438.5 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.3209, allocations: 130 kB / 438.6 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.3209, allocations: 51.67 kB / 438.7 MB, free: 88 kB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.597e-06/0.3209, allocations: 3.938 kB / 438.7 MB, free: 84 kB / 350.1 MB Notification: Performance of matching and sorting (n=133): time 0.009026/0.33, allocations: 5.282 MB / 444 MB, free: 10.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.3301, allocations: 90.42 kB / 444 MB, free: 10.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002888/0.3329, allocations: 1.913 MB / 446 MB, free: 8.707 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.3331, allocations: 45.7 kB / 446 MB, free: 8.656 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008608/0.3339, allocations: 1.322 MB / 447.3 MB, free: 7.316 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003595/0.3343, allocations: 461.3 kB / 447.8 MB, free: 6.859 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004321/0.3347, allocations: 271.3 kB / 448 MB, free: 6.586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.3348, allocations: 305.1 kB / 448.3 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.336, allocations: 0.812 MB / 449.1 MB, free: 5.473 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.3374, allocations: 1.195 MB / 450.3 MB, free: 4.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.34, allocations: 2.083 MB / 452.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.3401, allocations: 4 kB / 452.4 MB, free: 1.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004036/0.3441, allocations: 2.527 MB / 455 MB, free: 15.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.3441, allocations: 15.89 kB / 455 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.3442, allocations: 16 kB / 455 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/0.3459, allocations: 482.5 kB / 455.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.3472, allocations: 335.5 kB / 455.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00513/0.3523, allocations: 4.396 MB / 460.2 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.3537, allocations: 87.83 kB / 460.3 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.3538, allocations: 63.98 kB / 460.3 MB, free: 9.84 MB / 382.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.001682/0.3555, allocations: 1.048 MB / 461.4 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000477/0.356, allocations: 185.8 kB / 461.6 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003448/0.3594, allocations: 2.141 MB / 463.7 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/0.3595, allocations: 20 kB / 463.7 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.3595, allocations: 4 kB / 463.7 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.3595, allocations: 7.969 kB / 463.7 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008347/0.3679, allocations: 5.178 MB / 468.9 MB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.3679, allocations: 7.984 kB / 468.9 MB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009403/0.3689, allocations: 223.7 kB / 469.1 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001631/0.3705, allocations: 464.6 kB / 469.6 MB, free: 464 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.3706, allocations: 39.97 kB / 469.6 MB, free: 424 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004935/0.3756, allocations: 4.295 MB / 473.9 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.3756, allocations: 7.969 kB / 473.9 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004662/0.3802, allocations: 3.248 MB / 477.2 MB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000936/0.3812, allocations: 458.6 kB / 477.6 MB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004635/0.3817, allocations: 28 kB / 477.7 MB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.3829, allocations: 99.95 kB / 477.8 MB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.3831, allocations: 104.6 kB / 477.9 MB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.3832, allocations: 36 kB / 477.9 MB, free: 7.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002109/0.3853, allocations: 1.346 MB / 479.2 MB, free: 6.605 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3853, allocations: 4 kB / 479.2 MB, free: 6.602 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00193/0.3873, allocations: 0.5469 MB / 479.8 MB, free: 6.055 MB / 398.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.0005599/0.3878, allocations: 220.2 kB / 480 MB, free: 5.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003412/0.3913, allocations: 2.196 MB / 482.2 MB, free: 3.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.3913, allocations: 4 kB / 482.2 MB, free: 3.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.3932, allocations: 1.219 MB / 483.4 MB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/0.3956, allocations: 0.5092 MB / 483.9 MB, free: 1.879 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0098/0.4054, allocations: 5.714 MB / 489.6 MB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002281/0.4077, allocations: 2.363 MB / 492 MB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005885/0.4083, allocations: 151.3 kB / 492.2 MB, free: 9.559 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4083, allocations: 0 / 492.2 MB, free: 9.559 MB / 414.1 MB Notification: Performance of Templates: time 0.06198/0.4703, allocations: 51.19 MB / 0.5306 GB, free: 6.242 MB / 462.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