Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.0009299/0.0009299, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002267, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001362/0.001362, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002643/0.004005, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9673/0.9673, allocations: 158.6 MB / 171.1 MB, free: 2.57 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1502/1.117, allocations: 49.48 MB / 220.5 MB, free: 1.449 MB / 218.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 3.938 kB / 221.8 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.294e-05, allocations: 6.25 kB / 221.9 MB, free: 152 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01497/0.01499, allocations: 9.458 MB / 231.3 MB, free: 6.641 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007705/0.0227, allocations: 3.143 MB / 234.5 MB, free: 3.484 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.02398, allocations: 55.62 kB / 234.5 MB, free: 3.43 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.02563, allocations: 0.6286 MB / 235.1 MB, free: 2.797 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.0281, allocations: 0.8147 MB / 236 MB, free: 1.977 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006179/0.02872, allocations: 395.2 kB / 236.3 MB, free: 1.59 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.03065, allocations: 2.564 MB / 238.9 MB, free: 15.01 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000956/0.03161, allocations: 1.013 MB / 239.9 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.03364, allocations: 1.915 MB / 241.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.03491, allocations: 1.146 MB / 243 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004171/0.03533, allocations: 272 kB / 243.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004601/0.03579, allocations: 371.7 kB / 243.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004249/0.03621, allocations: 0.6311 MB / 244.2 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006349/0.03685, allocations: 0.7136 MB / 244.9 MB, free: 8.887 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.03829, allocations: 1.861 MB / 246.8 MB, free: 7.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.03831, allocations: 0 / 246.8 MB, free: 7.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.03831, allocations: 0 / 246.8 MB, free: 7.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.815e-05/0.03837, allocations: 0 / 246.8 MB, free: 7.02 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.002923/0.04129, allocations: 2.843 MB / 249.7 MB, free: 4.141 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.04133, allocations: 8.031 kB / 249.7 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005342/0.04186, allocations: 425.7 kB / 250.1 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.04291, allocations: 0.8608 MB / 250.9 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.335e-05/0.04299, allocations: 140.2 kB / 251.1 MB, free: 2.656 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.04316, allocations: 200.3 kB / 251.3 MB, free: 2.461 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.0446, allocations: 1.451 MB / 252.7 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.169e-05/0.04464, allocations: 11.89 kB / 252.7 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.04474, allocations: 72 kB / 252.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-05/0.04481, allocations: 91.67 kB / 252.9 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007953/0.0456, allocations: 0.5562 MB / 253.4 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005429/0.05103, allocations: 5.231 MB / 258.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005965/0.05163, allocations: 0.5733 MB / 259.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006484/0.05228, allocations: 0.5141 MB / 259.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.05241, allocations: 44.98 kB / 259.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.05244, allocations: 39.56 kB / 259.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.465e-06/0.05244, allocations: 0 / 259.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004359/0.0568, allocations: 2.586 MB / 262.4 MB, free: 6.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.05684, allocations: 68.41 kB / 262.5 MB, free: 6.852 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006387/0.05748, allocations: 0.8861 MB / 263.4 MB, free: 5.953 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.05754, allocations: 45.7 kB / 263.4 MB, free: 5.902 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/0.05789, allocations: 0.7867 MB / 264.2 MB, free: 5.102 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.05811, allocations: 408.4 kB / 264.6 MB, free: 4.699 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.05834, allocations: 235.4 kB / 264.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.05844, allocations: 365.8 kB / 265.2 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.05865, allocations: 162.8 kB / 265.4 MB, free: 3.938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/0.05903, allocations: 0.5124 MB / 265.9 MB, free: 3.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007133/0.05975, allocations: 0.8112 MB / 266.7 MB, free: 2.312 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.05975, allocations: 4 kB / 266.7 MB, free: 2.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001194/0.06095, allocations: 0.9737 MB / 267.7 MB, free: 1.305 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.06097, allocations: 12 kB / 267.7 MB, free: 1.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.06098, allocations: 8 kB / 267.7 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/0.06155, allocations: 290 kB / 268 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/0.06221, allocations: 323.5 kB / 268.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/0.06515, allocations: 4.796 MB / 273.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.06555, allocations: 51.88 kB / 273.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.06561, allocations: 44 kB / 273.2 MB, free: 11.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002927/0.0659, allocations: 204.2 kB / 273.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.06606, allocations: 119.9 kB / 273.5 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.06711, allocations: 0.8245 MB / 274.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.06712, allocations: 11.94 kB / 274.3 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.06713, allocations: 4 kB / 274.3 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.06713, allocations: 7.984 kB / 274.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.06958, allocations: 1.979 MB / 276.3 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.06958, allocations: 0 / 276.3 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/0.07008, allocations: 207.9 kB / 276.5 MB, free: 8.027 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.07035, allocations: 179 kB / 276.7 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007011/0.07106, allocations: 358.3 kB / 277 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/0.07111, allocations: 31.92 kB / 277.1 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003273/0.07438, allocations: 6.01 MB / 283.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.07439, allocations: 4.062 kB / 283.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1264/0.2008, allocations: 1.207 MB / 284.3 MB, free: 46.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/0.2012, allocations: 28.89 kB / 284.3 MB, free: 46.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004509/0.2016, allocations: 40.3 kB / 284.4 MB, free: 46.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.2018, allocations: 90.31 kB / 284.5 MB, free: 46.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.2019, allocations: 23.02 kB / 284.5 MB, free: 46.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000539/0.2024, allocations: 437.2 kB / 284.9 MB, free: 46 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2024, allocations: 1.125 kB / 284.9 MB, free: 46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001346/0.2037, allocations: 427.4 kB / 285.3 MB, free: 46 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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%), (2,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003149/0.2041, allocations: 162.6 kB / 285.5 MB, free: 45.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.2057, allocations: 1.126 MB / 286.6 MB, free: 45.56 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.436e-05/0.2057, allocations: 28.95 kB / 286.6 MB, free: 45.56 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009947/0.2067, allocations: 0.9296 MB / 287.6 MB, free: 45.08 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.2077, allocations: 469.7 kB / 288 MB, free: 45.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.221, allocations: 3.387 MB / 291.4 MB, free: 43.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.2214, allocations: 453.9 kB / 291.9 MB, free: 43.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005415/0.222, allocations: 169.4 kB / 292 MB, free: 43.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006296/0.2226, allocations: 359.6 kB / 292.4 MB, free: 43.45 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2226, allocations: 0 / 292.4 MB, free: 43.45 MB / 282.7 MB Notification: Performance of Templates: time 0.0261/0.2487, allocations: 24.72 MB / 317.1 MB, free: 27.04 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_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_Steinmetz/AIMC_Steinmetz.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3646308835595846]