Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.001203/0.001203, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0008809/0.0008809, allocations: 161.8 kB / 25.45 MB, free: 9.348 MB / 18.57 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 0.8038/0.8038, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 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_YD,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.497e-05, allocations: 2.281 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.007321/0.007346, allocations: 8.638 MB / 308.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004499/0.01185, allocations: 2.984 MB / 311.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008364/0.01268, allocations: 55.62 kB / 311.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.01393, allocations: 0.6597 MB / 312.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.01617, allocations: 0.8926 MB / 312.9 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005892/0.01676, allocations: 395.3 kB / 313.3 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002562/0.01933, allocations: 3.213 MB / 316.5 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.02051, allocations: 1.257 MB / 317.8 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.02225, allocations: 2.039 MB / 319.8 MB, free: 2.637 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.02391, allocations: 1.5 MB / 321.3 MB, free: 1.133 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003119/0.02422, allocations: 360 kB / 321.7 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005083/0.02473, allocations: 451.8 kB / 322.1 MB, free: 348 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005989/0.02533, allocations: 1.048 MB / 323.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008758/0.02621, allocations: 1.091 MB / 324.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003259/0.02946, allocations: 4.795 MB / 329.1 MB, free: 9.387 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.02947, allocations: 0 / 329.1 MB, free: 9.387 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.02947, allocations: 4 kB / 329.1 MB, free: 9.383 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.125e-05/0.02951, allocations: 3.938 kB / 329.1 MB, free: 9.379 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.003585/0.0331, allocations: 3.182 MB / 332.3 MB, free: 6.148 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.03315, allocations: 11.98 kB / 332.3 MB, free: 6.137 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005106/0.03366, allocations: 335 kB / 332.6 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.03543, allocations: 1.591 MB / 334.2 MB, free: 4.176 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.03553, allocations: 168.9 kB / 334.4 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004342/0.03596, allocations: 232.3 kB / 334.6 MB, free: 3.781 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003311/0.03927, allocations: 3.293 MB / 337.9 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/0.03932, allocations: 3.953 kB / 337.9 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.03947, allocations: 95.98 kB / 338 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.272e-05/0.03954, allocations: 104.4 kB / 338.1 MB, free: 164 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.04245, allocations: 2.742 MB / 340.8 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008682/0.05114, allocations: 8.58 MB / 349.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.0526, allocations: 1.552 MB / 350.9 MB, free: 3.023 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.05373, allocations: 1.12 MB / 352.1 MB, free: 1.902 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.05388, allocations: 49.83 kB / 352.1 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.05392, allocations: 51.56 kB / 352.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of pre-optimization done (n=126): time 4.178e-06/0.05392, allocations: 0 / 352.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=142): time 0.1414/0.1953, allocations: 7.688 MB / 359.9 MB, free: 57.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.1953, allocations: 66.78 kB / 359.9 MB, free: 57.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.1969, allocations: 1.542 MB / 361.5 MB, free: 56.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.197, allocations: 50.42 kB / 361.5 MB, free: 56.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/0.1974, allocations: 1.12 MB / 362.6 MB, free: 56.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.1976, allocations: 0.4902 MB / 363.1 MB, free: 55.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.1979, allocations: 296 kB / 363.4 MB, free: 55.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.41e-05/0.1979, allocations: 305.9 kB / 363.7 MB, free: 55.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008427/0.1988, allocations: 0.9018 MB / 364.6 MB, free: 54.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009524/0.1997, allocations: 1.271 MB / 365.9 MB, free: 54.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.2016, allocations: 2.253 MB / 368.1 MB, free: 53.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.2016, allocations: 3.969 kB / 368.1 MB, free: 53.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002748/0.2044, allocations: 3.013 MB / 371.1 MB, free: 51.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.2044, allocations: 12.66 kB / 371.2 MB, free: 51.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.2044, allocations: 11.03 kB / 371.2 MB, free: 51.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.2054, allocations: 0.8405 MB / 372 MB, free: 51.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/0.206, allocations: 307.8 kB / 372.3 MB, free: 51.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005165/0.2112, allocations: 9.435 MB / 381.7 MB, free: 41.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.2117, allocations: 95.86 kB / 381.8 MB, free: 41.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-05/0.2118, allocations: 59.98 kB / 381.9 MB, free: 41.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[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 (155): * Single equations (assignments): 150 * 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 {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007933/0.2126, allocations: 0.8078 MB / 382.7 MB, free: 40.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.2127, allocations: 179.9 kB / 382.9 MB, free: 40.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/0.2151, allocations: 2.813 MB / 385.7 MB, free: 37.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.2151, allocations: 18.95 kB / 385.7 MB, free: 37.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2151, allocations: 8 kB / 385.7 MB, free: 37.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.2151, allocations: 3.984 kB / 385.7 MB, free: 37.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004404/0.2196, allocations: 5.054 MB / 390.8 MB, free: 32.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2196, allocations: 4 kB / 390.8 MB, free: 32.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.22, allocations: 196.5 kB / 391 MB, free: 32.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.221, allocations: 0.8877 MB / 391.9 MB, free: 31.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.196e-05/0.2211, allocations: 39.97 kB / 391.9 MB, free: 31.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005521/0.2266, allocations: 10.93 MB / 402.8 MB, free: 20.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2266, allocations: 0 / 402.8 MB, free: 20.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/0.2299, allocations: 4.117 MB / 407 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004548/0.2303, allocations: 384.5 kB / 407.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.2304, allocations: 35.94 kB / 407.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/0.2309, allocations: 75.91 kB / 407.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.2311, allocations: 157 kB / 407.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.2311, allocations: 39.98 kB / 407.6 MB, free: 15.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007698/0.2319, allocations: 1.044 MB / 408.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2319, allocations: 0 / 408.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001141/0.233, allocations: 0.5569 MB / 409.2 MB, free: 13.65 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * 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%), (9,19,33.3%), (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.0002616/0.2333, allocations: 197.5 kB / 409.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.2355, allocations: 2.752 MB / 412.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2355, allocations: 7.984 kB / 412.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.2369, allocations: 1.889 MB / 414.1 MB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.238, allocations: 455.3 kB / 414.5 MB, free: 8.285 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004326/0.2423, allocations: 5.085 MB / 419.6 MB, free: 3.141 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007826/0.2431, allocations: 1.421 MB / 421 MB, free: 1.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.2433, allocations: 120.5 kB / 421.1 MB, free: 1.562 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2433, allocations: 3.938 kB / 421.1 MB, free: 1.559 MB / 330.7 MB Notification: Performance of Templates: time 0.06062/0.3039, allocations: 92.45 MB / 0.5016 GB, free: 4.926 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_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_YD/AIMC_YD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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: 8.322361088357866]