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.001506/0.001506, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001702/0.001702, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 8.234 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.00155/0.00155, allocations: 47.92 kB / 379.1 MB, free: 2.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2385, allocations: 53.37 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01587/0.2544, allocations: 13.02 MB / 445.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008461/0.2628, allocations: 4.284 MB / 449.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.2649, allocations: 99.31 kB / 449.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002765/0.2676, allocations: 1.03 MB / 450.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004871/0.2725, allocations: 1.255 MB / 452.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.2741, allocations: 0.5266 MB / 452.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005999/0.2801, allocations: 4.653 MB / 457.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003113/0.2832, allocations: 2.074 MB / 459.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.2871, allocations: 2.198 MB / 461.6 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003662/0.2908, allocations: 2.619 MB / 464.2 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008146/0.2916, allocations: 0.5508 MB / 464.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.2929, allocations: 0.6639 MB / 465.4 MB, free: 5.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001491/0.2944, allocations: 1.535 MB / 467 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002853/0.2972, allocations: 2.493 MB / 469.4 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008138/0.3053, allocations: 7.459 MB / 476.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3054, allocations: 11.94 kB / 476.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3054, allocations: 0 / 476.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001353/0.3055, allocations: 0 / 476.9 MB, free: 10.23 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.009306/0.3148, allocations: 4.744 MB / 481.7 MB, free: 5.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3148, allocations: 12.03 kB / 481.7 MB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.3164, allocations: 0.5487 MB / 482.2 MB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004936/0.3213, allocations: 2.544 MB / 484.8 MB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.3215, allocations: 275 kB / 485 MB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005437/0.3221, allocations: 344 kB / 485.4 MB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008385/0.3305, allocations: 5.036 MB / 490.4 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.436e-05/0.3305, allocations: 3.953 kB / 490.4 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003271/0.3309, allocations: 144 kB / 490.5 MB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001915/0.3311, allocations: 183 kB / 490.7 MB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007344/0.3384, allocations: 4.298 MB / 495 MB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02405/0.3625, allocations: 14.59 MB / 0.4977 GB, free: 8.984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004025/0.3665, allocations: 2.694 MB / 0.5003 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003184/0.3697, allocations: 1.877 MB / 0.5021 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.3699, allocations: 61.94 kB / 0.5022 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.37, allocations: 57.03 kB / 0.5022 GB, free: 4.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.887e-06/0.37, allocations: 0 / 0.5022 GB, free: 4.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02003/0.39, allocations: 9.612 MB / 0.5116 GB, free: 10.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.3901, allocations: 73.41 kB / 0.5117 GB, free: 10.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004397/0.3945, allocations: 2.522 MB / 0.5142 GB, free: 8.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002402/0.3947, allocations: 61.7 kB / 0.5142 GB, free: 8.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.3961, allocations: 1.662 MB / 0.5159 GB, free: 6.324 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007721/0.3969, allocations: 0.7669 MB / 0.5166 GB, free: 5.551 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007368/0.3976, allocations: 420.5 kB / 0.517 GB, free: 5.133 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3977, allocations: 301.1 kB / 0.5173 GB, free: 4.836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.3999, allocations: 1.297 MB / 0.5186 GB, free: 3.535 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002553/0.4025, allocations: 1.774 MB / 0.5203 GB, free: 1.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004864/0.4073, allocations: 3.219 MB / 0.5234 GB, free: 14.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.4074, allocations: 7.938 kB / 0.5234 GB, free: 14.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00733/0.4147, allocations: 4.069 MB / 0.5274 GB, free: 10.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.4147, allocations: 16.03 kB / 0.5274 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.4147, allocations: 12 kB / 0.5274 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002948/0.4177, allocations: 0.8872 MB / 0.5283 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/0.4198, allocations: 0.5227 MB / 0.5288 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2106/0.6304, allocations: 9.168 MB / 0.5378 GB, free: 96.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.6325, allocations: 116.1 kB / 0.5379 GB, free: 96.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000273/0.6328, allocations: 89.47 kB / 0.538 GB, free: 96.35 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.001961/0.6348, allocations: 1.221 MB / 0.5392 GB, free: 96.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005526/0.6353, allocations: 287.8 kB / 0.5394 GB, free: 96.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005658/0.641, allocations: 3.695 MB / 0.543 GB, free: 95.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.641, allocations: 25.19 kB / 0.5431 GB, free: 95.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.641, allocations: 8.312 kB / 0.5431 GB, free: 95.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/0.641, allocations: 12.44 kB / 0.5431 GB, free: 95.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.6523, allocations: 7.997 MB / 0.5509 GB, free: 92.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.6523, allocations: 5.75 kB / 0.5509 GB, free: 92.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/0.6538, allocations: 386.4 kB / 0.5513 GB, free: 92.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002689/0.6564, allocations: 0.9209 MB / 0.5522 GB, free: 91.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.6566, allocations: 61.89 kB / 0.5522 GB, free: 91.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008653/0.6652, allocations: 10.68 MB / 0.5627 GB, free: 83.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6652, allocations: 0.6719 kB / 0.5627 GB, free: 83.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007395/0.6726, allocations: 5.514 MB / 0.568 GB, free: 77.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/0.6743, allocations: 0.5781 MB / 0.5686 GB, free: 77.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004863/0.6748, allocations: 47.98 kB / 0.5686 GB, free: 77.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.6761, allocations: 119.8 kB / 0.5688 GB, free: 77.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000365/0.6765, allocations: 193.7 kB / 0.5689 GB, free: 77.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.6766, allocations: 59.98 kB / 0.569 GB, free: 76.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002018/0.6786, allocations: 1.735 MB / 0.5707 GB, free: 75.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6786, allocations: 0 / 0.5707 GB, free: 75.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002126/0.6807, allocations: 0.8009 MB / 0.5715 GB, free: 74.43 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.0005006/0.6812, allocations: 244.3 kB / 0.5717 GB, free: 74.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004703/0.6859, allocations: 3.623 MB / 0.5753 GB, free: 70.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.6859, allocations: 0 / 0.5753 GB, free: 70.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002864/0.6888, allocations: 2.311 MB / 0.5775 GB, free: 68.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/0.6918, allocations: 0.7878 MB / 0.5783 GB, free: 67.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.703, allocations: 7.91 MB / 0.586 GB, free: 59.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001777/0.7048, allocations: 2.727 MB / 0.5887 GB, free: 56.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008587/0.7056, allocations: 195.4 kB / 0.5889 GB, free: 56.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.273e-06/0.7056, allocations: 4 kB / 0.5889 GB, free: 56.54 MB / 446.1 MB Notification: Performance of Templates: time 0.1448/0.8504, allocations: 142.7 MB / 0.7282 GB, free: 9.812 MB / 0.5294 GB " [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 -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: 16.072502044960856]