Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001623/0.001623, allocations: 105.2 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001784/0.001784, allocations: 218.3 kB / 23 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 63.89 kB / 376.5 MB, free: 3.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3305, allocations: 53.31 MB / 429.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.0173/0.3478, allocations: 13.04 MB / 442.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.359, allocations: 4.291 MB / 447.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003549/0.3625, allocations: 75.69 kB / 447.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003762/0.3663, allocations: 1.03 MB / 448.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00563/0.3719, allocations: 1.251 MB / 449.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.3746, allocations: 0.5421 MB / 450 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008909/0.3835, allocations: 4.68 MB / 454.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005188/0.3887, allocations: 2.069 MB / 456.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004982/0.3937, allocations: 2.164 MB / 459 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007284/0.401, allocations: 2.635 MB / 461.6 MB, free: 7.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001723/0.4027, allocations: 0.5508 MB / 462.1 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.4046, allocations: 0.6678 MB / 462.8 MB, free: 6.395 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.4064, allocations: 1.539 MB / 464.3 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004097/0.4105, allocations: 2.497 MB / 466.8 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.4209, allocations: 7.486 MB / 474.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4209, allocations: 0 / 474.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4209, allocations: 0 / 474.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002261/0.4211, allocations: 0 / 474.3 MB, free: 10.83 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01206/0.4332, allocations: 4.839 MB / 479.2 MB, free: 5.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4332, allocations: 8.031 kB / 479.2 MB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.435, allocations: 0.5526 MB / 479.7 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005914/0.441, allocations: 2.604 MB / 482.3 MB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002498/0.4412, allocations: 263.4 kB / 482.6 MB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006195/0.4418, allocations: 363.9 kB / 482.9 MB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/0.4535, allocations: 5.056 MB / 488 MB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001375/0.4536, allocations: 15.88 kB / 488 MB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006432/0.4542, allocations: 148 kB / 488.2 MB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002905/0.4545, allocations: 191 kB / 488.3 MB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009573/0.4641, allocations: 4.314 MB / 492.7 MB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03394/0.498, allocations: 15.11 MB / 0.4959 GB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005638/0.5037, allocations: 4.053 MB / 0.4998 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003789/0.5075, allocations: 1.877 MB / 0.5017 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003816/0.5079, allocations: 131.1 kB / 0.5018 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.477e-05/0.5079, allocations: 56.56 kB / 0.5018 GB, free: 2.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.369e-06/0.5079, allocations: 0 / 0.5018 GB, free: 2.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02536/0.5333, allocations: 10 MB / 0.5116 GB, free: 8.219 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.331e-05/0.5334, allocations: 77.41 kB / 0.5117 GB, free: 8.129 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006123/0.5395, allocations: 2.514 MB / 0.5141 GB, free: 5.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004318/0.5399, allocations: 65.7 kB / 0.5142 GB, free: 5.523 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.5417, allocations: 1.67 MB / 0.5158 GB, free: 3.836 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001089/0.5428, allocations: 0.763 MB / 0.5166 GB, free: 3.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001328/0.5441, allocations: 420.4 kB / 0.517 GB, free: 2.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5443, allocations: 309.1 kB / 0.5173 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/0.5468, allocations: 1.305 MB / 0.5185 GB, free: 1.035 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002992/0.5498, allocations: 1.775 MB / 0.5203 GB, free: 15.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005624/0.5555, allocations: 3.219 MB / 0.5234 GB, free: 11.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/0.5555, allocations: 4 kB / 0.5234 GB, free: 11.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008497/0.564, allocations: 4.069 MB / 0.5274 GB, free: 7.574 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/0.564, allocations: 12 kB / 0.5274 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.185e-05/0.5641, allocations: 12 kB / 0.5274 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/0.5672, allocations: 0.876 MB / 0.5283 GB, free: 6.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/0.5697, allocations: 0.5343 MB / 0.5288 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2741/0.8438, allocations: 9.467 MB / 0.538 GB, free: 96.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/0.8459, allocations: 118.3 kB / 0.5382 GB, free: 96.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/0.8462, allocations: 86.66 kB / 0.5382 GB, free: 96.81 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.002164/0.8483, allocations: 1.227 MB / 0.5394 GB, free: 96.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000562/0.8489, allocations: 296.1 kB / 0.5397 GB, free: 96.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005648/0.8546, allocations: 3.692 MB / 0.5433 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.8546, allocations: 23.41 kB / 0.5433 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.8546, allocations: 11.59 kB / 0.5434 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/0.8546, allocations: 15.84 kB / 0.5434 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.8659, allocations: 8.01 MB / 0.5512 GB, free: 91.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.866, allocations: 3.906 kB / 0.5512 GB, free: 91.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.8675, allocations: 384.8 kB / 0.5516 GB, free: 91.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002803/0.8703, allocations: 0.9399 MB / 0.5525 GB, free: 91.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.8704, allocations: 51.56 kB / 0.5525 GB, free: 91.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008699/0.8791, allocations: 11.1 MB / 0.5634 GB, free: 80.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8791, allocations: 7.938 kB / 0.5634 GB, free: 80.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007113/0.8862, allocations: 5.505 MB / 0.5688 GB, free: 75.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.8876, allocations: 0.6517 MB / 0.5694 GB, free: 74.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/0.888, allocations: 48 kB / 0.5694 GB, free: 74.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.8893, allocations: 111.9 kB / 0.5695 GB, free: 74.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004215/0.8897, allocations: 181.7 kB / 0.5697 GB, free: 74.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.8898, allocations: 59.98 kB / 0.5698 GB, free: 74.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002028/0.8918, allocations: 1.739 MB / 0.5715 GB, free: 72.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8918, allocations: 0 / 0.5715 GB, free: 72.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002114/0.894, allocations: 0.801 MB / 0.5723 GB, free: 71.94 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.0005152/0.8945, allocations: 252 kB / 0.5725 GB, free: 71.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004733/0.8992, allocations: 3.773 MB / 0.5762 GB, free: 67.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8992, allocations: 0 / 0.5762 GB, free: 67.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002961/0.9022, allocations: 2.386 MB / 0.5785 GB, free: 65.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/0.9053, allocations: 0.7862 MB / 0.5793 GB, free: 64.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.9164, allocations: 7.945 MB / 0.587 GB, free: 56.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/0.9183, allocations: 2.789 MB / 0.5898 GB, free: 53.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001993/0.9203, allocations: 0.6829 MB / 0.5904 GB, free: 53.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000524/0.9208, allocations: 175.4 kB / 0.5906 GB, free: 52.99 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.9208, allocations: 3.938 kB / 0.5906 GB, free: 52.98 MB / 446.1 MB Notification: Performance of Templates: time 0.06769/0.9885, allocations: 45.89 MB / 0.6354 GB, free: 7.555 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.888661928474903]