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.001834/0.001834, allocations: 87.66 kB / 21.99 MB, free: 5.191 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.001475/0.001475, allocations: 161.4 kB / 25.25 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.328/1.328, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.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.001806/0.001806, allocations: 55.92 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2262, allocations: 49.15 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01493/0.2412, allocations: 11.2 MB / 359.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008451/0.2496, allocations: 4.055 MB / 363.8 MB, free: 212 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.2516, allocations: 87.38 kB / 363.9 MB, free: 124 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002602/0.2542, allocations: 0.9614 MB / 364.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004005/0.2582, allocations: 1.239 MB / 366.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.2597, allocations: 0.5266 MB / 366.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00658/0.2662, allocations: 4.672 MB / 371.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002928/0.2692, allocations: 1.959 MB / 373.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003964/0.2731, allocations: 2.169 MB / 375.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004602/0.2777, allocations: 2.537 MB / 377.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.2789, allocations: 0.5585 MB / 378.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.2805, allocations: 0.6404 MB / 379.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001838/0.2823, allocations: 1.531 MB / 380.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003023/0.2854, allocations: 2.015 MB / 382.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008655/0.294, allocations: 7.486 MB / 390.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.294, allocations: 3.938 kB / 390.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.294, allocations: 0 / 390.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001566/0.2942, allocations: 0 / 390.2 MB, free: 5.672 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.01018/0.3044, allocations: 4.724 MB / 394.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3044, allocations: 15.98 kB / 394.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.3058, allocations: 0.5137 MB / 395.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004497/0.3103, allocations: 2.361 MB / 397.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/0.3105, allocations: 267 kB / 398 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005407/0.3111, allocations: 355.9 kB / 398.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009053/0.3201, allocations: 5.268 MB / 403.7 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.691e-05/0.3202, allocations: 15.89 kB / 403.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003486/0.3206, allocations: 148 kB / 403.8 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002031/0.3208, allocations: 179.1 kB / 404 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00835/0.3291, allocations: 4.283 MB / 408.3 MB, free: 3.332 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02791/0.357, allocations: 12.88 MB / 421.2 MB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004817/0.3618, allocations: 2.698 MB / 423.9 MB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003633/0.3655, allocations: 1.874 MB / 425.7 MB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.3657, allocations: 53.97 kB / 425.8 MB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.202e-05/0.3658, allocations: 56.56 kB / 425.8 MB, free: 1.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 3.987e-06/0.3658, allocations: 0 / 425.8 MB, free: 1.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02254/0.3884, allocations: 9.64 MB / 435.5 MB, free: 7.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.3884, allocations: 77.41 kB / 435.5 MB, free: 7.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004599/0.393, allocations: 2.186 MB / 437.7 MB, free: 5.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.3933, allocations: 65.7 kB / 437.8 MB, free: 5.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001589/0.3949, allocations: 1.66 MB / 439.5 MB, free: 3.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008808/0.3957, allocations: 0.7708 MB / 440.2 MB, free: 2.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009154/0.3967, allocations: 420.4 kB / 440.6 MB, free: 2.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3968, allocations: 301.1 kB / 440.9 MB, free: 2.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002511/0.3993, allocations: 1.305 MB / 442.2 MB, free: 0.9688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002843/0.4022, allocations: 1.778 MB / 444 MB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005454/0.4076, allocations: 3.223 MB / 447.2 MB, free: 11.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.701e-05/0.4076, allocations: 4 kB / 447.2 MB, free: 11.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008203/0.4158, allocations: 4.045 MB / 451.3 MB, free: 7.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.4159, allocations: 12 kB / 451.3 MB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.4159, allocations: 12 kB / 451.3 MB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003049/0.419, allocations: 0.8838 MB / 452.2 MB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/0.4212, allocations: 0.5227 MB / 452.7 MB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.4333, allocations: 8.988 MB / 461.7 MB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.4354, allocations: 119.9 kB / 461.8 MB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004159/0.4358, allocations: 80 kB / 461.9 MB, free: 12.59 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.002654/0.4385, allocations: 1.215 MB / 463.1 MB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007762/0.4393, allocations: 258.4 kB / 463.4 MB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00718/0.4465, allocations: 3.688 MB / 467.1 MB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.4465, allocations: 20 kB / 467.1 MB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/0.4465, allocations: 8 kB / 467.1 MB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/0.4465, allocations: 7.969 kB / 467.1 MB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/0.4617, allocations: 7.109 MB / 474.2 MB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.4617, allocations: 4 kB / 474.2 MB, free: 148 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1934/0.6551, allocations: 384.7 kB / 474.6 MB, free: 107.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003712/0.6589, allocations: 0.9287 MB / 475.5 MB, free: 107.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003782/0.6592, allocations: 53.05 kB / 475.6 MB, free: 107.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009556/0.6688, allocations: 10.47 MB / 486 MB, free: 101.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6688, allocations: 7.344 kB / 486 MB, free: 101.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007129/0.6759, allocations: 5.473 MB / 491.5 MB, free: 99.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.6772, allocations: 0.5366 MB / 492 MB, free: 99.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.6775, allocations: 58.12 kB / 492.1 MB, free: 99.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.6788, allocations: 120.6 kB / 492.2 MB, free: 99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003739/0.6792, allocations: 185.8 kB / 492.4 MB, free: 98.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.6793, allocations: 61.05 kB / 492.5 MB, free: 98.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001792/0.6811, allocations: 1.493 MB / 494 MB, free: 97.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6811, allocations: 0 / 494 MB, free: 97.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001998/0.6831, allocations: 0.7876 MB / 494.7 MB, free: 96.89 MB / 430.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.0004779/0.6836, allocations: 238.8 kB / 495 MB, free: 96.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004846/0.6884, allocations: 3.616 MB / 498.6 MB, free: 93.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6884, allocations: 3.156 kB / 498.6 MB, free: 93.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003037/0.6915, allocations: 2.326 MB / 0.4892 GB, free: 91.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/0.6942, allocations: 0.6258 MB / 0.4898 GB, free: 90.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.7054, allocations: 7.808 MB / 0.4974 GB, free: 82.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/0.7075, allocations: 2.238 MB / 0.4996 GB, free: 80.53 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00179/0.7093, allocations: 0.649 MB / 0.5002 GB, free: 79.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000507/0.7098, allocations: 164.5 kB / 0.5004 GB, free: 79.71 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7098, allocations: 7.938 kB / 0.5004 GB, free: 79.71 MB / 430.1 MB Notification: Performance of Templates: time 0.05733/0.7671, allocations: 40.39 MB / 0.5398 GB, free: 39.29 MB / 430.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 -s ida -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: 7.477034570998512]