Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.001896/0.001896, allocations: 113 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.002146/0.002146, allocations: 197.9 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.398/1.398, 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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 47.92 kB / 368.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2654, allocations: 52.15 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.016/0.2814, allocations: 12.99 MB / 433.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009741/0.2912, allocations: 4.206 MB / 438.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003142/0.2943, allocations: 79.69 kB / 438.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003649/0.298, allocations: 1.013 MB / 439.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004465/0.3024, allocations: 1.239 MB / 440.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.304, allocations: 0.5149 MB / 441 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006535/0.3105, allocations: 4.633 MB / 445.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003387/0.3139, allocations: 2.081 MB / 447.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005102/0.319, allocations: 2.127 MB / 449.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005829/0.3248, allocations: 2.631 MB / 452.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002216/0.3271, allocations: 0.5508 MB / 453 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.3296, allocations: 0.6404 MB / 453.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002181/0.3318, allocations: 1.531 MB / 455.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00573/0.3375, allocations: 2.485 MB / 457.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.3486, allocations: 7.447 MB / 465.1 MB, free: 2.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3486, allocations: 0 / 465.1 MB, free: 2.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3486, allocations: 0 / 465.1 MB, free: 2.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002561/0.3488, allocations: 0 / 465.1 MB, free: 2.723 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.01327/0.3621, allocations: 4.8 MB / 469.9 MB, free: 13.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3621, allocations: 8.031 kB / 469.9 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/0.3642, allocations: 0.5175 MB / 470.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006267/0.3705, allocations: 2.589 MB / 473 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/0.3709, allocations: 267 kB / 473.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001344/0.3722, allocations: 359.9 kB / 473.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.3842, allocations: 5.025 MB / 478.6 MB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001675/0.3843, allocations: 11.89 kB / 478.6 MB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001/0.3853, allocations: 152 kB / 478.8 MB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002361/0.3856, allocations: 179.1 kB / 479 MB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.3958, allocations: 4.298 MB / 483.3 MB, free: 352 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03734/0.4331, allocations: 14.75 MB / 498 MB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006989/0.4401, allocations: 4.058 MB / 0.4903 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004341/0.4445, allocations: 1.877 MB / 0.4921 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004739/0.4449, allocations: 135.1 kB / 0.4923 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.703e-05/0.445, allocations: 52.56 kB / 0.4923 GB, free: 10.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 6.081e-06/0.445, allocations: 0 / 0.4923 GB, free: 10.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02881/0.4738, allocations: 9.994 MB / 0.5021 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.77e-05/0.4739, allocations: 73.41 kB / 0.5021 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006647/0.4806, allocations: 2.51 MB / 0.5046 GB, free: 14.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006359/0.4812, allocations: 61.7 kB / 0.5047 GB, free: 14.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001778/0.483, allocations: 1.654 MB / 0.5063 GB, free: 12.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001105/0.4841, allocations: 0.7747 MB / 0.507 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/0.4853, allocations: 412.5 kB / 0.5074 GB, free: 11.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4854, allocations: 313 kB / 0.5077 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/0.4879, allocations: 1.301 MB / 0.509 GB, free: 9.562 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/0.4907, allocations: 1.778 MB / 0.5107 GB, free: 7.594 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005452/0.4962, allocations: 3.204 MB / 0.5139 GB, free: 4.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.152e-05/0.4962, allocations: 4 kB / 0.5139 GB, free: 4.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.009172/0.5054, allocations: 4.069 MB / 0.5178 GB, free: 116 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/0.5054, allocations: 12 kB / 0.5178 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/0.5054, allocations: 12 kB / 0.5179 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003186/0.5086, allocations: 0.8838 MB / 0.5187 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/0.5115, allocations: 0.5266 MB / 0.5192 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/0.5251, allocations: 9.494 MB / 0.5285 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/0.5278, allocations: 115.8 kB / 0.5286 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004869/0.5283, allocations: 92 kB / 0.5287 GB, free: 4.551 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.003792/0.5321, allocations: 1.216 MB / 0.5299 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/0.5333, allocations: 290.2 kB / 0.5302 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2675/0.8008, allocations: 3.696 MB / 0.5338 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.722e-05/0.8009, allocations: 21.19 kB / 0.5338 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.895e-05/0.8009, allocations: 10.41 kB / 0.5338 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.748e-05/0.801, allocations: 11.31 kB / 0.5338 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.8152, allocations: 7.994 MB / 0.5416 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.8152, allocations: 7.875 kB / 0.5416 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/0.8167, allocations: 385.8 kB / 0.542 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002696/0.8194, allocations: 0.9215 MB / 0.5429 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002714/0.8196, allocations: 56.36 kB / 0.543 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008318/0.828, allocations: 11.1 MB / 0.5538 GB, free: 94.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.828, allocations: 7.719 kB / 0.5538 GB, free: 94.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006843/0.8348, allocations: 5.499 MB / 0.5592 GB, free: 90.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/0.8363, allocations: 0.6428 MB / 0.5598 GB, free: 90.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003468/0.8366, allocations: 56.92 kB / 0.5599 GB, free: 90.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.8378, allocations: 111.9 kB / 0.56 GB, free: 90.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004068/0.8382, allocations: 181.8 kB / 0.5601 GB, free: 89.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.8384, allocations: 63.98 kB / 0.5602 GB, free: 89.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001918/0.8403, allocations: 1.727 MB / 0.5619 GB, free: 88.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8403, allocations: 0 / 0.5619 GB, free: 88.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002022/0.8423, allocations: 0.8047 MB / 0.5627 GB, free: 87.33 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.00051/0.8428, allocations: 246 kB / 0.5629 GB, free: 87.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004509/0.8473, allocations: 3.764 MB / 0.5666 GB, free: 83.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.8473, allocations: 0 / 0.5666 GB, free: 83.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002779/0.8501, allocations: 2.388 MB / 0.5689 GB, free: 80.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003644/0.8538, allocations: 0.7862 MB / 0.5697 GB, free: 80.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.864, allocations: 7.898 MB / 0.5774 GB, free: 72.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/0.8657, allocations: 2.773 MB / 0.5801 GB, free: 69.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001784/0.8675, allocations: 0.6905 MB / 0.5808 GB, free: 68.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004877/0.868, allocations: 179.4 kB / 0.5809 GB, free: 68.48 MB / 446.1 MB Notification: Performance of SimCode: time 1.233e-06/0.868, allocations: 0 / 0.5809 GB, free: 68.48 MB / 446.1 MB Notification: Performance of Templates: time 0.06304/0.931, allocations: 45.81 MB / 0.6257 GB, free: 23.22 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.615845954045653]