Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.001418/0.001418, allocations: 109 kB / 21.93 MB, free: 5.223 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.001488/0.001488, allocations: 213.5 kB / 25.22 MB, free: 3.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 55.92 kB / 348.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2651, allocations: 49.16 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01218/0.2773, allocations: 11.23 MB / 408.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009415/0.2867, allocations: 4.041 MB / 412.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003107/0.2898, allocations: 86.78 kB / 413 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003339/0.2932, allocations: 0.9595 MB / 413.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004931/0.2981, allocations: 1.245 MB / 415.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.3001, allocations: 0.5278 MB / 415.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007066/0.3072, allocations: 4.67 MB / 420.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004588/0.3118, allocations: 1.949 MB / 422.3 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005409/0.3172, allocations: 2.173 MB / 424.5 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0057/0.3229, allocations: 2.537 MB / 427 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00208/0.325, allocations: 0.5508 MB / 427.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/0.3279, allocations: 0.6366 MB / 428.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002711/0.3306, allocations: 1.543 MB / 429.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005119/0.3357, allocations: 2.011 MB / 431.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.3469, allocations: 7.482 MB / 439.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3469, allocations: 0 / 439.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3469, allocations: 3.938 kB / 439.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002471/0.3472, allocations: 0 / 439.3 MB, free: 9.383 MB / 350.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.01481/0.362, allocations: 4.736 MB / 444 MB, free: 4.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.362, allocations: 11.98 kB / 444 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/0.3649, allocations: 0.5098 MB / 444.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007202/0.3721, allocations: 2.357 MB / 446.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003782/0.3725, allocations: 271 kB / 447.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001344/0.3738, allocations: 355.9 kB / 447.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.3871, allocations: 5.276 MB / 452.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001743/0.3873, allocations: 7.891 kB / 452.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009925/0.3883, allocations: 152 kB / 452.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002416/0.3885, allocations: 179.1 kB / 453.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.399, allocations: 4.287 MB / 457.4 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03552/0.4345, allocations: 12.86 MB / 470.2 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006944/0.4415, allocations: 2.705 MB / 472.9 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005495/0.447, allocations: 1.87 MB / 474.8 MB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004582/0.4474, allocations: 49.97 kB / 474.9 MB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.505e-05/0.4475, allocations: 57.03 kB / 474.9 MB, free: 5.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 1.035e-05/0.4475, allocations: 4 kB / 474.9 MB, free: 5.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.03436/0.4819, allocations: 9.641 MB / 484.6 MB, free: 11.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/0.482, allocations: 73.41 kB / 484.6 MB, free: 11.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005738/0.4877, allocations: 2.19 MB / 486.8 MB, free: 9.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005548/0.4883, allocations: 65.64 kB / 486.9 MB, free: 9.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002286/0.4906, allocations: 1.664 MB / 488.5 MB, free: 7.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001531/0.4921, allocations: 0.7669 MB / 489.3 MB, free: 6.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/0.4931, allocations: 424.4 kB / 489.7 MB, free: 6.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4933, allocations: 301.1 kB / 490 MB, free: 5.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002336/0.4956, allocations: 1.301 MB / 491.3 MB, free: 4.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00272/0.4983, allocations: 1.774 MB / 493.1 MB, free: 2.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005184/0.5035, allocations: 3.227 MB / 496.3 MB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/0.5035, allocations: 4 kB / 496.3 MB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008047/0.5116, allocations: 4.045 MB / 0.4886 GB, free: 11.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/0.5116, allocations: 16.36 kB / 0.4887 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/0.5117, allocations: 20 kB / 0.4887 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002865/0.5145, allocations: 0.8787 MB / 0.4895 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/0.5168, allocations: 0.5305 MB / 0.4901 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.5287, allocations: 8.983 MB / 0.4988 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/0.5312, allocations: 119.9 kB / 0.4989 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005117/0.5317, allocations: 91.98 kB / 0.499 GB, free: 292 kB / 414.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.003105/0.5348, allocations: 1.211 MB / 0.5002 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009203/0.5358, allocations: 254.4 kB / 0.5005 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007493/0.5433, allocations: 3.685 MB / 0.5041 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.513e-05/0.5433, allocations: 23.98 kB / 0.5041 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.75e-05/0.5433, allocations: 12 kB / 0.5041 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-05/0.5434, allocations: 7.969 kB / 0.5041 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/0.5619, allocations: 7.109 MB / 0.511 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.5619, allocations: 8 kB / 0.5111 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.5637, allocations: 379.7 kB / 0.5114 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003258/0.5669, allocations: 0.9291 MB / 0.5123 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002737/0.5672, allocations: 51.98 kB / 0.5124 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/0.5804, allocations: 10.47 MB / 0.5226 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.5804, allocations: 0 / 0.5226 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/0.5912, allocations: 5.477 MB / 0.5279 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002017/0.5932, allocations: 0.5451 MB / 0.5285 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007102/0.5939, allocations: 51.92 kB / 0.5285 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.5957, allocations: 115.9 kB / 0.5286 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000488/0.5961, allocations: 189.7 kB / 0.5288 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/0.5963, allocations: 59.98 kB / 0.5289 GB, free: 1.082 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003253/0.5996, allocations: 1.489 MB / 0.5303 GB, free: 15.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5996, allocations: 0 / 0.5303 GB, free: 15.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003345/0.6029, allocations: 0.7929 MB / 0.5311 GB, free: 14.78 MB / 462.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 {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (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.0007844/0.6037, allocations: 235.5 kB / 0.5313 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006896/0.6106, allocations: 3.622 MB / 0.5349 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.6106, allocations: 2 kB / 0.5349 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00432/0.6149, allocations: 2.314 MB / 0.5371 GB, free: 8.504 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00395/0.6189, allocations: 0.6311 MB / 0.5377 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/0.6355, allocations: 7.833 MB / 0.5454 GB, free: 15.96 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003635/0.6391, allocations: 2.176 MB / 0.5475 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/0.6402, allocations: 179.4 kB / 0.5477 GB, free: 13.57 MB / 478.1 MB Notification: Performance of SimCode: time 1.783e-06/0.6402, allocations: 0 / 0.5477 GB, free: 13.57 MB / 478.1 MB Notification: Performance of Templates: time 0.338/0.9782, allocations: 140.9 MB / 0.6853 GB, free: 32 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.905618405900896]