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.001887/0.001887, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.0025/0.0025, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.459/1.459, allocations: 207.6 MB / 236 MB, free: 9.973 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.002017/0.002017, allocations: 56.44 kB / 348.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2861, allocations: 49.16 MB / 397.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01346/0.2995, allocations: 12.91 MB / 410.5 MB, free: 332 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.3101, allocations: 4.274 MB / 414.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003248/0.3133, allocations: 87.06 kB / 414.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00389/0.3172, allocations: 1.027 MB / 415.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005563/0.3228, allocations: 1.244 MB / 417.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.3247, allocations: 0.5339 MB / 417.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00909/0.3338, allocations: 4.678 MB / 422.4 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0045/0.3383, allocations: 2.026 MB / 424.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006031/0.3444, allocations: 2.16 MB / 426.6 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006132/0.3505, allocations: 2.618 MB / 429.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001769/0.3523, allocations: 0.5547 MB / 429.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002886/0.3552, allocations: 0.6561 MB / 430.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002048/0.3572, allocations: 1.535 MB / 431.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005221/0.3624, allocations: 2.481 MB / 434.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.3733, allocations: 7.441 MB / 441.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.3733, allocations: 3.938 kB / 441.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3733, allocations: 4 kB / 441.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000254/0.3735, allocations: 0 / 441.9 MB, free: 6.977 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.01325/0.3868, allocations: 4.724 MB / 446.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.3868, allocations: 11.98 kB / 446.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.3884, allocations: 0.5214 MB / 447.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005986/0.3944, allocations: 2.357 MB / 449.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/0.3947, allocations: 271 kB / 449.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007898/0.3955, allocations: 351.9 kB / 450.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009937/0.4054, allocations: 5.017 MB / 455.1 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.07e-05/0.4055, allocations: 11.89 kB / 455.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003571/0.4058, allocations: 148 kB / 455.2 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002029/0.406, allocations: 187 kB / 455.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009064/0.4151, allocations: 4.291 MB / 459.7 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02998/0.4451, allocations: 14.6 MB / 474.3 MB, free: 6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004813/0.4499, allocations: 2.704 MB / 477 MB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003572/0.4535, allocations: 1.874 MB / 478.9 MB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002951/0.4538, allocations: 53.95 kB / 479 MB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.017e-05/0.4538, allocations: 60.56 kB / 479 MB, free: 1.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 4.698e-06/0.4538, allocations: 0 / 479 MB, free: 1.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02276/0.4766, allocations: 9.672 MB / 488.7 MB, free: 7.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/0.4767, allocations: 73.41 kB / 488.8 MB, free: 7.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004701/0.4814, allocations: 2.51 MB / 491.3 MB, free: 5.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004509/0.4818, allocations: 61.7 kB / 491.3 MB, free: 4.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001738/0.4836, allocations: 1.65 MB / 493 MB, free: 3.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009799/0.4846, allocations: 0.7707 MB / 493.7 MB, free: 2.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007361/0.4853, allocations: 424.4 kB / 494.2 MB, free: 2.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4854, allocations: 305.1 kB / 494.5 MB, free: 1.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002513/0.488, allocations: 1.305 MB / 495.8 MB, free: 500 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00278/0.4907, allocations: 1.778 MB / 497.5 MB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005267/0.496, allocations: 3.215 MB / 0.489 GB, free: 11.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/0.496, allocations: 7.938 kB / 0.489 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007789/0.5038, allocations: 4.065 MB / 0.493 GB, free: 7.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.5039, allocations: 11.91 kB / 0.493 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/0.5039, allocations: 16 kB / 0.493 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003005/0.5069, allocations: 0.8792 MB / 0.4939 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/0.5093, allocations: 0.5266 MB / 0.4944 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/0.5213, allocations: 9.169 MB / 0.5034 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.5237, allocations: 127.8 kB / 0.5035 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/0.5239, allocations: 84 kB / 0.5036 GB, free: 11.86 MB / 430.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.002753/0.5267, allocations: 1.211 MB / 0.5047 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008297/0.5275, allocations: 290.2 kB / 0.505 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007168/0.5347, allocations: 3.707 MB / 0.5086 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.5347, allocations: 24 kB / 0.5087 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.5347, allocations: 4 kB / 0.5087 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/0.5347, allocations: 11.91 kB / 0.5087 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/0.5512, allocations: 8 MB / 0.5165 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.5512, allocations: 4 kB / 0.5165 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/0.5528, allocations: 391.8 kB / 0.5169 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003217/0.5561, allocations: 0.9174 MB / 0.5178 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.5562, allocations: 59.97 kB / 0.5178 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/0.5696, allocations: 10.66 MB / 0.5282 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.5696, allocations: 7.969 kB / 0.5282 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009607/0.5792, allocations: 5.506 MB / 0.5336 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001954/0.5811, allocations: 0.58 MB / 0.5342 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005925/0.5817, allocations: 48.08 kB / 0.5342 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.5831, allocations: 123.8 kB / 0.5343 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004434/0.5835, allocations: 185.6 kB / 0.5345 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.5836, allocations: 59.98 kB / 0.5346 GB, free: 11.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002867/0.5865, allocations: 1.727 MB / 0.5363 GB, free: 9.648 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5865, allocations: 0 / 0.5363 GB, free: 9.648 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002778/0.5893, allocations: 0.8007 MB / 0.537 GB, free: 8.848 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.0006504/0.5899, allocations: 235.1 kB / 0.5373 GB, free: 8.609 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00667/0.5966, allocations: 3.628 MB / 0.5408 GB, free: 4.938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.5966, allocations: 0 / 0.5408 GB, free: 4.938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004297/0.6009, allocations: 2.318 MB / 0.5431 GB, free: 2.562 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/0.6048, allocations: 0.7922 MB / 0.5438 GB, free: 1.766 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/0.6216, allocations: 7.888 MB / 0.5515 GB, free: 9.816 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003375/0.625, allocations: 2.723 MB / 0.5542 GB, free: 7.066 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/0.6261, allocations: 187.4 kB / 0.5544 GB, free: 6.883 MB / 478.1 MB Notification: Performance of SimCode: time 1.313e-06/0.6261, allocations: 0 / 0.5544 GB, free: 6.883 MB / 478.1 MB Notification: Performance of Templates: time 0.3394/0.9655, allocations: 142.3 MB / 0.6933 GB, free: 25.33 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: 17.356070548994467]