Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.00111/0.00111, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001743/0.002853, allocations: 449.8 kB / 10.44 MB, free: 252 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.001146/0.001146, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001656/0.002803, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.02/1.02, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09054/1.11, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.387e-05, allocations: 6.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01076/0.01079, allocations: 9.275 MB / 254 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009124/0.01991, allocations: 3.107 MB / 257.1 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.02103, allocations: 63.62 kB / 257.2 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.02247, allocations: 0.6403 MB / 257.8 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.02438, allocations: 0.8459 MB / 258.6 MB, free: 220 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006848/0.02506, allocations: 363.4 kB / 259 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002717/0.02778, allocations: 2.781 MB / 261.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.02925, allocations: 1.164 MB / 262.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002915/0.03216, allocations: 2.117 MB / 265.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.03412, allocations: 1.364 MB / 266.4 MB, free: 8.324 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000589/0.03471, allocations: 300 kB / 266.7 MB, free: 8.031 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008478/0.03556, allocations: 407.7 kB / 267.1 MB, free: 7.633 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007247/0.03628, allocations: 0.7364 MB / 267.9 MB, free: 6.895 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.0374, allocations: 0.7916 MB / 268.6 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.03983, allocations: 2.134 MB / 270.8 MB, free: 3.961 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.03984, allocations: 4 kB / 270.8 MB, free: 3.957 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.03985, allocations: 0 / 270.8 MB, free: 3.957 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.138e-05/0.0399, allocations: 0 / 270.8 MB, free: 3.957 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.0048/0.0447, allocations: 3.14 MB / 273.9 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.04473, allocations: 11.97 kB / 273.9 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.04577, allocations: 477.6 kB / 274.4 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1208/0.1666, allocations: 1.033 MB / 275.4 MB, free: 20.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.1667, allocations: 153.2 kB / 275.6 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.1669, allocations: 208.3 kB / 275.8 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002844/0.1698, allocations: 1.573 MB / 277.4 MB, free: 20.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.928e-05/0.1699, allocations: 11.11 kB / 277.4 MB, free: 20.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/0.17, allocations: 83.06 kB / 277.5 MB, free: 20.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/0.1702, allocations: 95.89 kB / 277.5 MB, free: 20.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.1719, allocations: 0.6026 MB / 278.1 MB, free: 20.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007991/0.1799, allocations: 5.424 MB / 283.6 MB, free: 18.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.181, allocations: 0.6702 MB / 284.2 MB, free: 17.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007318/0.1817, allocations: 479.6 kB / 284.7 MB, free: 17.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.1819, allocations: 45.81 kB / 284.8 MB, free: 17.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1819, allocations: 39.69 kB / 284.8 MB, free: 17.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.978e-06/0.1819, allocations: 1.375 kB / 284.8 MB, free: 17.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.005087/0.187, allocations: 2.528 MB / 287.3 MB, free: 17.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.187, allocations: 61.53 kB / 287.4 MB, free: 17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007435/0.1878, allocations: 0.981 MB / 288.4 MB, free: 16.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.1878, allocations: 50.62 kB / 288.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.1881, allocations: 0.8353 MB / 289.3 MB, free: 16.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.1883, allocations: 432.1 kB / 289.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.1885, allocations: 239.7 kB / 289.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.1886, allocations: 363.5 kB / 290.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.1888, allocations: 165.5 kB / 290.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.189, allocations: 484.8 kB / 290.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006518/0.1897, allocations: 0.827 MB / 291.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.1897, allocations: 3.344 kB / 291.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001087/0.1908, allocations: 0.9145 MB / 292.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1908, allocations: 10.06 kB / 292.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.1908, allocations: 9.875 kB / 292.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004676/0.1913, allocations: 221.2 kB / 292.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008305/0.1921, allocations: 340.7 kB / 293.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.1938, allocations: 3.164 MB / 296.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.1943, allocations: 51.95 kB / 296.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.1944, allocations: 43.98 kB / 296.5 MB, free: 11.14 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(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.0003755/0.1948, allocations: 195.3 kB / 296.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.1949, allocations: 135.9 kB / 296.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009303/0.1959, allocations: 0.8204 MB / 297.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.1959, allocations: 12 kB / 297.6 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1959, allocations: 4 kB / 297.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.1959, allocations: 7.969 kB / 297.6 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.1984, allocations: 2.083 MB / 299.7 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.1984, allocations: 3.984 kB / 299.7 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/0.199, allocations: 284 kB / 300 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.1993, allocations: 210.9 kB / 300.2 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004915/0.1998, allocations: 250.5 kB / 300.4 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.1998, allocations: 31.98 kB / 300.5 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.2016, allocations: 4.375 MB / 304.9 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.2016, allocations: 7.938 kB / 304.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.2028, allocations: 1.205 MB / 306.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.2029, allocations: 31.98 kB / 306.1 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.2032, allocations: 47.97 kB / 306.1 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.2034, allocations: 96.7 kB / 306.2 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.2034, allocations: 27.98 kB / 306.3 MB, free: 1.086 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003321/0.2038, allocations: 0.4897 MB / 306.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2038, allocations: 0 / 306.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009324/0.2047, allocations: 455.9 kB / 307.2 MB, free: 208 kB / 266.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: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.0002591/0.2049, allocations: 176.1 kB / 307.4 MB, free: 24 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.2061, allocations: 0.9903 MB / 308.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.163e-05/0.2062, allocations: 32.77 kB / 308.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.2072, allocations: 1.008 MB / 309.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.2092, allocations: 3.864 MB / 313.3 MB, free: 9.371 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/0.2233, allocations: 3.631 MB / 316.9 MB, free: 5.695 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.2238, allocations: 0.5009 MB / 317.4 MB, free: 5.172 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007086/0.2245, allocations: 196.8 kB / 317.6 MB, free: 4.973 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006676/0.2252, allocations: 401.1 kB / 318 MB, free: 4.578 MB / 282.7 MB Notification: Performance of SimCode: time 2.033e-06/0.2252, allocations: 0 / 318 MB, free: 4.578 MB / 282.7 MB Notification: Performance of Templates: time 0.03493/0.2601, allocations: 26.45 MB / 344.4 MB, free: 10.58 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4186966363340616]