Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.00174/0.00174, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002075/0.002075, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 51.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2116, allocations: 53.37 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01447/0.2261, allocations: 11.34 MB / 443.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007414/0.2335, allocations: 4.031 MB / 447.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.2347, allocations: 99.31 kB / 447.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.2368, allocations: 0.9695 MB / 448.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002761/0.2395, allocations: 1.243 MB / 450.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009965/0.2405, allocations: 0.5305 MB / 450.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004911/0.2454, allocations: 4.657 MB / 455.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002848/0.2483, allocations: 2.078 MB / 457.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003513/0.2518, allocations: 2.18 MB / 459.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003487/0.2553, allocations: 2.631 MB / 462.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008224/0.2561, allocations: 0.5508 MB / 462.7 MB, free: 8.242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.2574, allocations: 0.656 MB / 463.3 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001519/0.2589, allocations: 1.539 MB / 464.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002428/0.2613, allocations: 2.011 MB / 466.9 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008207/0.2695, allocations: 7.506 MB / 474.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2695, allocations: 0 / 474.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2695, allocations: 3.938 kB / 474.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001637/0.2697, allocations: 0 / 474.4 MB, free: 12.49 MB / 382.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.009941/0.2796, allocations: 4.752 MB / 479.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.2797, allocations: 12.03 kB / 479.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.2813, allocations: 0.5565 MB / 479.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005222/0.2865, allocations: 2.536 MB / 482.3 MB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.2868, allocations: 267 kB / 482.5 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005788/0.2874, allocations: 355.9 kB / 482.9 MB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00895/0.2963, allocations: 5.28 MB / 488.1 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.7e-05/0.2964, allocations: 7.953 kB / 488.1 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003634/0.2968, allocations: 148 kB / 488.3 MB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002004/0.297, allocations: 183 kB / 488.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007459/0.3044, allocations: 4.294 MB / 492.8 MB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02316/0.3276, allocations: 12.85 MB / 0.4938 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004087/0.3317, allocations: 2.692 MB / 0.4964 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003315/0.335, allocations: 1.87 MB / 0.4982 GB, free: 8.156 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.3352, allocations: 57.97 kB / 0.4983 GB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.3353, allocations: 60.56 kB / 0.4983 GB, free: 8.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.118e-06/0.3353, allocations: 0 / 0.4983 GB, free: 8.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02059/0.3559, allocations: 9.584 MB / 0.5077 GB, free: 14.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.3559, allocations: 73.41 kB / 0.5078 GB, free: 14.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003216/0.3592, allocations: 2.203 MB / 0.5099 GB, free: 12.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.3593, allocations: 65.7 kB / 0.51 GB, free: 12.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.3606, allocations: 1.672 MB / 0.5116 GB, free: 10.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006605/0.3612, allocations: 0.7591 MB / 0.5124 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007288/0.362, allocations: 424.4 kB / 0.5128 GB, free: 9.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3621, allocations: 301.1 kB / 0.513 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/0.3642, allocations: 1.297 MB / 0.5143 GB, free: 7.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/0.3667, allocations: 1.774 MB / 0.516 GB, free: 5.605 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004806/0.3715, allocations: 3.215 MB / 0.5192 GB, free: 2.207 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/0.3715, allocations: 8 kB / 0.5192 GB, free: 2.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007184/0.3787, allocations: 4.045 MB / 0.5231 GB, free: 14.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.3787, allocations: 12 kB / 0.5232 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.3788, allocations: 12 kB / 0.5232 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003121/0.3819, allocations: 0.8798 MB / 0.524 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/0.3841, allocations: 0.5266 MB / 0.5245 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.3953, allocations: 9.007 MB / 0.5333 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.3969, allocations: 127.8 kB / 0.5335 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.3971, allocations: 84 kB / 0.5335 GB, free: 3.168 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.001956/0.399, allocations: 1.215 MB / 0.5347 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004491/0.3995, allocations: 262.3 kB / 0.535 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1835/0.583, allocations: 3.675 MB / 0.5386 GB, free: 99.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/0.583, allocations: 26.53 kB / 0.5386 GB, free: 99.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.583, allocations: 7.547 kB / 0.5386 GB, free: 99.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.583, allocations: 11.91 kB / 0.5386 GB, free: 99.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.5953, allocations: 7.106 MB / 0.5455 GB, free: 97.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.5953, allocations: 2.688 kB / 0.5455 GB, free: 97.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/0.597, allocations: 383.7 kB / 0.5459 GB, free: 97.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002971/0.5999, allocations: 0.9264 MB / 0.5468 GB, free: 97.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.6001, allocations: 50.42 kB / 0.5469 GB, free: 97.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008589/0.6087, allocations: 10.49 MB / 0.5571 GB, free: 88.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6087, allocations: 3.938 kB / 0.5571 GB, free: 88.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00687/0.6155, allocations: 5.474 MB / 0.5625 GB, free: 83.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/0.617, allocations: 0.5442 MB / 0.563 GB, free: 83.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003427/0.6174, allocations: 48 kB / 0.563 GB, free: 83.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.6187, allocations: 118.8 kB / 0.5632 GB, free: 83.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003415/0.619, allocations: 193.6 kB / 0.5633 GB, free: 82.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.6191, allocations: 60.17 kB / 0.5634 GB, free: 82.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001662/0.6208, allocations: 1.493 MB / 0.5649 GB, free: 81.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6208, allocations: 3.938 kB / 0.5649 GB, free: 81.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001905/0.6227, allocations: 0.7936 MB / 0.5656 GB, free: 80.61 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.000468/0.6232, allocations: 245.8 kB / 0.5659 GB, free: 80.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004479/0.6276, allocations: 3.614 MB / 0.5694 GB, free: 76.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6276, allocations: 0 / 0.5694 GB, free: 76.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00291/0.6306, allocations: 2.319 MB / 0.5717 GB, free: 74.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.6329, allocations: 0.6337 MB / 0.5723 GB, free: 73.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009544/0.6425, allocations: 7.849 MB / 0.5799 GB, free: 65.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/0.6442, allocations: 2.235 MB / 0.5821 GB, free: 63.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001584/0.6458, allocations: 0.6375 MB / 0.5828 GB, free: 62.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/0.6463, allocations: 163.4 kB / 0.5829 GB, free: 62.83 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6463, allocations: 4 kB / 0.5829 GB, free: 62.82 MB / 446.1 MB Notification: Performance of Templates: time 0.05714/0.7034, allocations: 45.88 MB / 0.6277 GB, free: 17.57 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 52.75978863800992]