Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] 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.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 51.92 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3328, allocations: 52.13 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01673/0.3495, allocations: 12.97 MB / 433.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.3606, allocations: 4.198 MB / 438.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003003/0.3636, allocations: 83.62 kB / 438.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.3664, allocations: 1.013 MB / 439.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004202/0.3706, allocations: 1.231 MB / 440.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.3718, allocations: 0.5148 MB / 440.9 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005856/0.3777, allocations: 4.633 MB / 445.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002985/0.3807, allocations: 2.082 MB / 447.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004055/0.3847, allocations: 2.142 MB / 449.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004386/0.3891, allocations: 2.619 MB / 452.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001105/0.3902, allocations: 0.5547 MB / 452.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.3918, allocations: 0.6443 MB / 453.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001661/0.3934, allocations: 1.531 MB / 455.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003367/0.3968, allocations: 2.489 MB / 457.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009449/0.4063, allocations: 7.439 MB / 465 MB, free: 2.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4063, allocations: 0 / 465 MB, free: 2.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4063, allocations: 0 / 465 MB, free: 2.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002858/0.4066, allocations: 0 / 465 MB, free: 2.73 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01233/0.4189, allocations: 4.804 MB / 469.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.4189, allocations: 12.03 kB / 469.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.4205, allocations: 0.5137 MB / 470.4 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005117/0.4256, allocations: 2.589 MB / 472.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003593/0.426, allocations: 271 kB / 473.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007576/0.4268, allocations: 355.9 kB / 473.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/0.4376, allocations: 5.021 MB / 478.6 MB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.644e-05/0.4377, allocations: 19.88 kB / 478.6 MB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003809/0.4381, allocations: 148 kB / 478.7 MB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002389/0.4383, allocations: 183.1 kB / 478.9 MB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008362/0.4467, allocations: 4.287 MB / 483.2 MB, free: 364 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02568/0.4724, allocations: 14.76 MB / 498 MB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004881/0.4773, allocations: 4.054 MB / 0.4903 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003241/0.4805, allocations: 1.873 MB / 0.4921 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003145/0.4808, allocations: 143 kB / 0.4922 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.4809, allocations: 52.56 kB / 0.4923 GB, free: 10.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 5.691e-06/0.4809, allocations: 3.984 kB / 0.4923 GB, free: 10.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.0204/0.5013, allocations: 9.997 MB / 0.502 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.5013, allocations: 77.41 kB / 0.5021 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00397/0.5053, allocations: 2.502 MB / 0.5046 GB, free: 14.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000208/0.5055, allocations: 65.7 kB / 0.5046 GB, free: 14.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.5068, allocations: 1.65 MB / 0.5062 GB, free: 12.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006856/0.5075, allocations: 0.7668 MB / 0.507 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007275/0.5082, allocations: 424.4 kB / 0.5074 GB, free: 11.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5084, allocations: 301.1 kB / 0.5077 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.5104, allocations: 1.301 MB / 0.5089 GB, free: 9.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002489/0.5129, allocations: 1.782 MB / 0.5107 GB, free: 7.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00476/0.5177, allocations: 3.208 MB / 0.5138 GB, free: 4.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/0.5177, allocations: 8 kB / 0.5138 GB, free: 4.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007289/0.525, allocations: 4.069 MB / 0.5178 GB, free: 112 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.525, allocations: 8 kB / 0.5178 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.525, allocations: 16 kB / 0.5178 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00285/0.5279, allocations: 0.876 MB / 0.5187 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/0.5299, allocations: 0.5266 MB / 0.5192 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.5415, allocations: 9.498 MB / 0.5285 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/0.5439, allocations: 115.9 kB / 0.5286 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/0.5442, allocations: 91.98 kB / 0.5287 GB, free: 4.555 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002278/0.5465, allocations: 1.22 MB / 0.5299 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006507/0.5471, allocations: 294.2 kB / 0.5301 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2345/0.7817, allocations: 3.688 MB / 0.5337 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.075e-05/0.7817, allocations: 24.5 kB / 0.5338 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/0.7817, allocations: 7.797 kB / 0.5338 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.251e-05/0.7818, allocations: 11.03 kB / 0.5338 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/0.7941, allocations: 7.99 MB / 0.5416 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.7941, allocations: 0 / 0.5416 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.7956, allocations: 387.4 kB / 0.5419 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002726/0.7983, allocations: 0.9251 MB / 0.5429 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.7985, allocations: 56.52 kB / 0.5429 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008665/0.8072, allocations: 11.11 MB / 0.5537 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.8072, allocations: 5.562 kB / 0.5538 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006815/0.814, allocations: 5.505 MB / 0.5591 GB, free: 90.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.8153, allocations: 0.6433 MB / 0.5598 GB, free: 90.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003639/0.8157, allocations: 52.56 kB / 0.5598 GB, free: 90.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.8169, allocations: 115.9 kB / 0.5599 GB, free: 90.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/0.8173, allocations: 185.8 kB / 0.5601 GB, free: 89.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.8174, allocations: 55.98 kB / 0.5602 GB, free: 89.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002066/0.8194, allocations: 1.731 MB / 0.5618 GB, free: 88.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8194, allocations: 0 / 0.5618 GB, free: 88.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002061/0.8215, allocations: 0.8048 MB / 0.5626 GB, free: 87.35 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005269/0.822, allocations: 237.9 kB / 0.5629 GB, free: 87.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004671/0.8267, allocations: 3.762 MB / 0.5665 GB, free: 83.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.8267, allocations: 1.875 kB / 0.5665 GB, free: 83.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002912/0.8296, allocations: 2.397 MB / 0.5689 GB, free: 80.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/0.8328, allocations: 0.7789 MB / 0.5696 GB, free: 80.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.8436, allocations: 7.908 MB / 0.5774 GB, free: 72.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/0.8455, allocations: 2.773 MB / 0.5801 GB, free: 69.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001925/0.8474, allocations: 0.6788 MB / 0.5807 GB, free: 68.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005017/0.8479, allocations: 175.4 kB / 0.5809 GB, free: 68.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/0.8479, allocations: 7.938 kB / 0.5809 GB, free: 68.5 MB / 446.1 MB Notification: Performance of Templates: time 0.06559/0.9135, allocations: 45.81 MB / 0.6256 GB, free: 23.23 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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: 7.739458122290671]