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.001268/0.001268, allocations: 86.22 kB / 21.44 MB, free: 296 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.001338/0.001338, allocations: 161.3 kB / 24.7 MB, free: 3.551 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.299/1.299, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.197e-05, allocations: 2.281 kB / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01353/0.01355, allocations: 11.22 MB / 310.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009/0.02255, allocations: 4.04 MB / 314.2 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.02485, allocations: 83.38 kB / 314.3 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.02744, allocations: 0.9664 MB / 315.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004124/0.03156, allocations: 1.281 MB / 316.6 MB, free: 7.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.03302, allocations: 0.5382 MB / 317.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006714/0.03973, allocations: 4.849 MB / 322 MB, free: 1.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.154/0.1938, allocations: 1.948 MB / 323.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006173/0.2, allocations: 3.148 MB / 327.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00467/0.2046, allocations: 2.286 MB / 329.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001546/0.2062, allocations: 0.5523 MB / 329.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.2081, allocations: 0.6408 MB / 330.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001833/0.2099, allocations: 1.58 MB / 332.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004226/0.2141, allocations: 1.721 MB / 333.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008517/0.2227, allocations: 7.546 MB / 341.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.2227, allocations: 1.312 kB / 341.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2227, allocations: 0 / 341.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002181/0.2229, allocations: 0.5938 kB / 341.4 MB, free: 12.85 MB / 302.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.0105/0.2334, allocations: 4.684 MB / 346.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2334, allocations: 14.8 kB / 346.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.2347, allocations: 0.5135 MB / 346.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004352/0.2391, allocations: 2.358 MB / 348.9 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.2392, allocations: 271.7 kB / 349.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005234/0.2398, allocations: 350.1 kB / 349.6 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00783/0.2476, allocations: 5.273 MB / 354.8 MB, free: 4.562 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-05/0.2477, allocations: 11.17 kB / 354.8 MB, free: 4.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003293/0.248, allocations: 145.1 kB / 355 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.2481, allocations: 179.8 kB / 355.2 MB, free: 4.277 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007162/0.2553, allocations: 4.286 MB / 359.4 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04125/0.2966, allocations: 12.86 MB / 372.3 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007355/0.3039, allocations: 2.707 MB / 375 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005391/0.3093, allocations: 1.873 MB / 376.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003852/0.3097, allocations: 53.97 kB / 376.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.371e-05/0.3098, allocations: 59.94 kB / 377 MB, free: 14.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 8.496e-06/0.3098, allocations: 4 kB / 377 MB, free: 14.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.0259/0.3357, allocations: 9.641 MB / 386.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.3358, allocations: 77.41 kB / 386.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00443/0.3402, allocations: 2.186 MB / 388.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002576/0.3405, allocations: 65.7 kB / 389 MB, free: 2.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.342, allocations: 1.655 MB / 390.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008107/0.3428, allocations: 0.7668 MB / 391.4 MB, free: 120 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009727/0.3437, allocations: 416.4 kB / 391.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3439, allocations: 301.1 kB / 392.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/0.3462, allocations: 1.301 MB / 393.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002811/0.349, allocations: 1.78 MB / 395.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005249/0.3543, allocations: 3.213 MB / 398.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.042e-05/0.3543, allocations: 7.984 kB / 398.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008003/0.3623, allocations: 4.042 MB / 402.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.3623, allocations: 12 kB / 402.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.651e-05/0.3624, allocations: 20 kB / 402.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003122/0.3655, allocations: 0.8836 MB / 403.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002506/0.368, allocations: 0.5224 MB / 403.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/0.3803, allocations: 8.984 MB / 412.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.3827, allocations: 123.8 kB / 413 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004283/0.3831, allocations: 84 kB / 413.1 MB, free: 9.957 MB / 366.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.00279/0.3859, allocations: 1.222 MB / 414.3 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008586/0.3868, allocations: 258.4 kB / 414.5 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007437/0.3942, allocations: 3.669 MB / 418.2 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.3943, allocations: 27.94 kB / 418.2 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.687e-05/0.3943, allocations: 12 kB / 418.2 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/0.3943, allocations: 11.95 kB / 418.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/0.4098, allocations: 7.115 MB / 425.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.4098, allocations: 4 kB / 425.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.4116, allocations: 386.5 kB / 425.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003372/0.415, allocations: 0.9287 MB / 426.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002201/0.4152, allocations: 47.98 kB / 426.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/0.4283, allocations: 10.46 MB / 437.2 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.4283, allocations: 3.984 kB / 437.2 MB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/0.4384, allocations: 5.476 MB / 442.7 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/0.4402, allocations: 0.5373 MB / 443.2 MB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007029/0.4409, allocations: 51.98 kB / 443.3 MB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/0.4427, allocations: 115.9 kB / 443.4 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004875/0.4432, allocations: 193.2 kB / 443.6 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/0.4433, allocations: 55.98 kB / 443.6 MB, free: 11.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002742/0.4461, allocations: 1.485 MB / 445.1 MB, free: 9.512 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4461, allocations: 0 / 445.1 MB, free: 9.512 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002975/0.449, allocations: 0.7929 MB / 445.9 MB, free: 8.719 MB / 398.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.0006509/0.4497, allocations: 248.2 kB / 446.1 MB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006727/0.4564, allocations: 3.609 MB / 449.7 MB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.4564, allocations: 4 kB / 449.7 MB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004131/0.4606, allocations: 2.321 MB / 452.1 MB, free: 2.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/0.4645, allocations: 0.6208 MB / 452.7 MB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.4798, allocations: 7.591 MB / 460.3 MB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003327/0.4831, allocations: 2.242 MB / 462.5 MB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002089/0.4852, allocations: 0.6373 MB / 463.2 MB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006901/0.4859, allocations: 168 kB / 463.3 MB, free: 7.211 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4859, allocations: 0 / 463.3 MB, free: 7.211 MB / 414.1 MB Notification: Performance of Templates: time 0.2142/0.7001, allocations: 40.11 MB / 0.4916 GB, free: 139.4 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 -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/jenkins/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/jenkins/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.227014143019915]