Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 51.92 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2415, allocations: 53.36 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009914/0.2514, allocations: 6.922 MB / 438.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005705/0.2571, allocations: 2.601 MB / 441.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.2585, allocations: 87.38 kB / 441.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.2602, allocations: 0.5898 MB / 441.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.2629, allocations: 0.7653 MB / 442.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.2641, allocations: 423.4 kB / 443 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004174/0.2683, allocations: 3.288 MB / 446.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003294/0.2715, allocations: 1.941 MB / 448.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003203/0.2747, allocations: 1.703 MB / 449.9 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003322/0.2781, allocations: 2.02 MB / 451.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009105/0.279, allocations: 463.9 kB / 452.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.2806, allocations: 0.6441 MB / 453 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0016/0.2822, allocations: 1.266 MB / 454.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002665/0.2848, allocations: 1.583 MB / 455.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00707/0.2919, allocations: 6.154 MB / 462 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2919, allocations: 0 / 462 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2919, allocations: 4 kB / 462 MB, free: 8.129 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000169/0.2921, allocations: 0 / 462 MB, free: 8.129 MB / 366.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.009455/0.3015, allocations: 3.817 MB / 465.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3016, allocations: 8.031 kB / 465.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.303, allocations: 450.5 kB / 466.3 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004234/0.3073, allocations: 2.127 MB / 468.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.3074, allocations: 221.7 kB / 468.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004291/0.3079, allocations: 284 kB / 468.9 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006951/0.3148, allocations: 4.442 MB / 473.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.488e-05/0.3149, allocations: 0 / 473.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002855/0.3152, allocations: 120 kB / 473.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/0.3153, allocations: 145.9 kB / 473.6 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005931/0.3213, allocations: 3.482 MB / 477.1 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01601/0.3373, allocations: 9.228 MB / 486.3 MB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.3398, allocations: 1.648 MB / 488 MB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002593/0.3424, allocations: 1.399 MB / 489.4 MB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.3426, allocations: 52.84 kB / 489.4 MB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.3427, allocations: 47.56 kB / 489.5 MB, free: 12.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.676e-06/0.3427, allocations: 3.938 kB / 489.5 MB, free: 12.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009341/0.352, allocations: 5.113 MB / 494.6 MB, free: 7.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.3521, allocations: 94.42 kB / 494.7 MB, free: 7.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002547/0.3546, allocations: 1.729 MB / 496.4 MB, free: 5.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.895e-05/0.3547, allocations: 49.7 kB / 496.4 MB, free: 5.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.3558, allocations: 1.364 MB / 497.8 MB, free: 3.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004057/0.3562, allocations: 479.9 kB / 498.3 MB, free: 3.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004648/0.3567, allocations: 271.5 kB / 498.5 MB, free: 3.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3568, allocations: 309.1 kB / 498.8 MB, free: 2.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.3581, allocations: 0.8159 MB / 499.7 MB, free: 1.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.3598, allocations: 1.204 MB / 0.4891 GB, free: 0.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003015/0.3628, allocations: 2.086 MB / 0.4912 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.3628, allocations: 4 kB / 0.4912 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004446/0.3672, allocations: 2.5 MB / 0.4936 GB, free: 11.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.3673, allocations: 14.33 kB / 0.4936 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.3673, allocations: 12 kB / 0.4936 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/0.3691, allocations: 479.1 kB / 0.4941 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.3705, allocations: 331.5 kB / 0.4944 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005702/0.3762, allocations: 4.217 MB / 0.4985 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.3774, allocations: 87.94 kB / 0.4986 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.3775, allocations: 63.98 kB / 0.4987 GB, free: 6.602 MB / 414.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.001647/0.3791, allocations: 1.05 MB / 0.4997 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/0.3795, allocations: 186.9 kB / 0.4999 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/0.3831, allocations: 2.12 MB / 0.5019 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/0.3832, allocations: 20 kB / 0.502 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3832, allocations: 7.938 kB / 0.502 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.3832, allocations: 7.969 kB / 0.502 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008026/0.3912, allocations: 4.479 MB / 0.5063 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.3912, allocations: 0 / 0.5063 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.3922, allocations: 231.9 kB / 0.5066 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/0.3939, allocations: 460.8 kB / 0.507 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-05/0.394, allocations: 35.92 kB / 0.507 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005453/0.3995, allocations: 4.11 MB / 0.5111 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3995, allocations: 4.062 kB / 0.5111 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005188/0.4047, allocations: 3.24 MB / 0.5142 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.4057, allocations: 366.8 kB / 0.5146 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.4059, allocations: 31.98 kB / 0.5146 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009788/0.4069, allocations: 99.97 kB / 0.5147 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.4071, allocations: 100.7 kB / 0.5148 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.193e-05/0.4072, allocations: 40 kB / 0.5148 GB, free: 5.797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001741/0.4089, allocations: 1.19 MB / 0.516 GB, free: 4.609 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4089, allocations: 0 / 0.516 GB, free: 4.609 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001629/0.4106, allocations: 0.5546 MB / 0.5165 GB, free: 4.055 MB / 430.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.0005239/0.4111, allocations: 225 kB / 0.5168 GB, free: 3.828 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003522/0.4146, allocations: 2.13 MB / 0.5188 GB, free: 1.688 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4146, allocations: 0 / 0.5188 GB, free: 1.688 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.4165, allocations: 1.156 MB / 0.52 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.4183, allocations: 408.6 kB / 0.5203 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009414/0.4277, allocations: 5.801 MB / 0.526 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002148/0.4298, allocations: 1.868 MB / 0.5278 GB, free: 8.352 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001302/0.4311, allocations: 473.8 kB / 0.5283 GB, free: 7.883 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/0.4315, allocations: 119.4 kB / 0.5284 GB, free: 7.766 MB / 446.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4315, allocations: 4 kB / 0.5284 GB, free: 7.762 MB / 446.1 MB Notification: Performance of Templates: time 0.2439/0.6755, allocations: 30.94 MB / 0.5586 GB, free: 87.13 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.7670516688376665]