Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.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.001709/0.001709, allocations: 103.6 kB / 21.18 MB, free: 332 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.002254/0.002254, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.456/1.456, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.Transformers.AIMC_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.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_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.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.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.001868/0.001868, allocations: 51.92 kB / 347.7 MB, free: 9.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2892, allocations: 49.16 MB / 396.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01328/0.3025, allocations: 11.24 MB / 408.1 MB, free: 2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009799/0.3123, allocations: 4.045 MB / 412.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003834/0.3161, allocations: 91.09 kB / 412.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004358/0.3205, allocations: 0.9637 MB / 413.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006446/0.3269, allocations: 1.24 MB / 414.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.329, allocations: 0.5251 MB / 415 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008374/0.3374, allocations: 4.673 MB / 419.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005228/0.3426, allocations: 1.949 MB / 421.6 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005985/0.3486, allocations: 2.186 MB / 423.8 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006423/0.355, allocations: 2.527 MB / 426.3 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001274/0.3563, allocations: 0.5547 MB / 426.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.3586, allocations: 0.6405 MB / 427.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.3603, allocations: 1.543 MB / 429.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003358/0.3637, allocations: 2.011 MB / 431.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008989/0.3727, allocations: 7.485 MB / 438.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3727, allocations: 0 / 438.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3727, allocations: 0 / 438.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001946/0.3729, allocations: 0 / 438.6 MB, free: 9.359 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.01088/0.3838, allocations: 4.728 MB / 443.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3838, allocations: 15.98 kB / 443.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.3852, allocations: 0.5175 MB / 443.8 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004643/0.3899, allocations: 2.353 MB / 446.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/0.3901, allocations: 267 kB / 446.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005794/0.3907, allocations: 348 kB / 446.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0092/0.3999, allocations: 5.283 MB / 452.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-05/0.4, allocations: 11.89 kB / 452.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003371/0.4003, allocations: 147.9 kB / 452.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002045/0.4005, allocations: 179 kB / 452.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007702/0.4082, allocations: 4.283 MB / 456.7 MB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02413/0.4323, allocations: 12.87 MB / 469.5 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00423/0.4366, allocations: 2.701 MB / 472.2 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003402/0.44, allocations: 1.87 MB / 474.1 MB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000265/0.4402, allocations: 57.97 kB / 474.2 MB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.121e-05/0.4403, allocations: 52.56 kB / 474.2 MB, free: 5.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 5.52e-06/0.4403, allocations: 0 / 474.2 MB, free: 5.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02236/0.4627, allocations: 9.649 MB / 483.9 MB, free: 11.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.4627, allocations: 77.41 kB / 483.9 MB, free: 11.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004535/0.4673, allocations: 2.186 MB / 486.1 MB, free: 9.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.4675, allocations: 61.7 kB / 486.2 MB, free: 9.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.469, allocations: 1.664 MB / 487.9 MB, free: 7.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008668/0.4699, allocations: 0.7708 MB / 488.6 MB, free: 6.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008249/0.4707, allocations: 420.4 kB / 489 MB, free: 6.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4708, allocations: 305.1 kB / 489.3 MB, free: 5.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002291/0.4731, allocations: 1.301 MB / 490.6 MB, free: 4.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002638/0.4757, allocations: 1.782 MB / 492.4 MB, free: 2.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005262/0.481, allocations: 3.219 MB / 495.6 MB, free: 15.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.481, allocations: 3.938 kB / 495.6 MB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008076/0.4891, allocations: 4.045 MB / 499.7 MB, free: 11.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.4891, allocations: 12 kB / 499.7 MB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/0.4892, allocations: 12 kB / 499.7 MB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/0.4921, allocations: 0.8831 MB / 0.4889 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/0.4943, allocations: 0.5265 MB / 0.4894 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.5063, allocations: 8.991 MB / 0.4982 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/0.5093, allocations: 111.9 kB / 0.4983 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006147/0.5099, allocations: 88 kB / 0.4983 GB, free: 280 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.003269/0.5131, allocations: 1.212 MB / 0.4995 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008658/0.514, allocations: 266.3 kB / 0.4998 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007711/0.5217, allocations: 3.677 MB / 0.5034 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.5217, allocations: 20 kB / 0.5034 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.112e-05/0.5218, allocations: 8 kB / 0.5034 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.5218, allocations: 11.97 kB / 0.5034 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/0.5396, allocations: 7.113 MB / 0.5104 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/0.5396, allocations: 4 kB / 0.5104 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/0.5415, allocations: 383.8 kB / 0.5107 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003456/0.5449, allocations: 0.9213 MB / 0.5116 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002807/0.5452, allocations: 59.97 kB / 0.5117 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0139/0.5591, allocations: 10.48 MB / 0.5219 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.5591, allocations: 4 kB / 0.5219 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/0.5708, allocations: 5.481 MB / 0.5273 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002304/0.5731, allocations: 0.5373 MB / 0.5278 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/0.5742, allocations: 55.92 kB / 0.5278 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/0.5762, allocations: 111.9 kB / 0.528 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005785/0.5768, allocations: 189.7 kB / 0.5281 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/0.577, allocations: 63.98 kB / 0.5282 GB, free: 1.059 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003979/0.581, allocations: 1.485 MB / 0.5296 GB, free: 15.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.581, allocations: 0 / 0.5296 GB, free: 15.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00441/0.5854, allocations: 0.7929 MB / 0.5304 GB, free: 14.76 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.0009366/0.5864, allocations: 230.8 kB / 0.5306 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008856/0.5952, allocations: 3.628 MB / 0.5342 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.5952, allocations: 4 kB / 0.5342 GB, free: 10.85 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005215/0.6004, allocations: 2.303 MB / 0.5364 GB, free: 8.488 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005545/0.606, allocations: 0.6316 MB / 0.537 GB, free: 7.852 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02034/0.6263, allocations: 7.828 MB / 0.5447 GB, free: 15.96 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005076/0.6314, allocations: 2.234 MB / 0.5469 GB, free: 13.69 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002998/0.6344, allocations: 0.6412 MB / 0.5475 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009416/0.6353, allocations: 159.4 kB / 0.5477 GB, free: 12.89 MB / 478.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6353, allocations: 0 / 0.5477 GB, free: 12.89 MB / 478.1 MB Notification: Performance of Templates: time 0.3245/0.9598, allocations: 44.82 MB / 0.5914 GB, free: 130.8 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AIMC_Transformer/AIMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aimc.i_0_s in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat. Warning: Get data of variable aimc.i_0_s from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.234474260360003]