Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009961/0.0009961, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.002119, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006628/0.0006628, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000878/0.001541, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9497/0.9497, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09531/1.045, allocations: 52.5 MB / 238.3 MB, free: 4.438 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 239.6 MB, free: 3.145 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.68e-05, allocations: 2.312 kB / 239.6 MB, free: 3.141 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.008654/0.008681, allocations: 9.456 MB / 249.1 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006604/0.01528, allocations: 3.622 MB / 252.7 MB, free: 6.008 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.01662, allocations: 59.62 kB / 252.7 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.01807, allocations: 0.6675 MB / 253.4 MB, free: 5.277 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.02026, allocations: 0.9119 MB / 254.3 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008755/0.02113, allocations: 467 kB / 254.8 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002644/0.02378, allocations: 2.747 MB / 257.5 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.02538, allocations: 1.109 MB / 258.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.02872, allocations: 2.168 MB / 260.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.03071, allocations: 1.344 MB / 262.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005518/0.03126, allocations: 296 kB / 262.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.03228, allocations: 0.5346 MB / 263 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006956/0.03298, allocations: 0.8805 MB / 263.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009845/0.03396, allocations: 0.7991 MB / 264.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.03634, allocations: 2.297 MB / 266.9 MB, free: 7.605 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.441e-05/0.03636, allocations: 3.984 kB / 266.9 MB, free: 7.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.03636, allocations: 3.938 kB / 266.9 MB, free: 7.598 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.94e-05/0.03644, allocations: 0 / 266.9 MB, free: 7.598 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.004079/0.04052, allocations: 3.483 MB / 270.4 MB, free: 4.066 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.04056, allocations: 8.031 kB / 270.4 MB, free: 4.059 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006848/0.04125, allocations: 465.7 kB / 270.9 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.04276, allocations: 1.182 MB / 272.1 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.391e-05/0.04285, allocations: 160.4 kB / 272.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.04305, allocations: 204.3 kB / 272.4 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.04483, allocations: 1.566 MB / 274 MB, free: 332 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/0.04487, allocations: 7.938 kB / 274 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.04498, allocations: 87.94 kB / 274.1 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.598e-05/0.04506, allocations: 95.92 kB / 274.2 MB, free: 140 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1203/0.1654, allocations: 0.5965 MB / 274.8 MB, free: 23.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006708/0.1721, allocations: 4.888 MB / 279.7 MB, free: 21.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.1731, allocations: 0.7141 MB / 280.4 MB, free: 21.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007109/0.1739, allocations: 488.9 kB / 280.9 MB, free: 21.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.174, allocations: 51.69 kB / 280.9 MB, free: 21.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1741, allocations: 44.84 kB / 280.9 MB, free: 21.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 3.396e-06/0.1741, allocations: 1.125 kB / 280.9 MB, free: 21.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004973/0.179, allocations: 2.776 MB / 283.7 MB, free: 21.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.1791, allocations: 66.22 kB / 283.8 MB, free: 21.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.1801, allocations: 1.393 MB / 285.2 MB, free: 20.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.1802, allocations: 46.45 kB / 285.2 MB, free: 20.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.1805, allocations: 0.8468 MB / 286.1 MB, free: 20.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.1807, allocations: 483.7 kB / 286.5 MB, free: 20.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.1809, allocations: 228.6 kB / 286.8 MB, free: 20.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.181, allocations: 363.8 kB / 287.1 MB, free: 19.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.1812, allocations: 172.1 kB / 287.3 MB, free: 19.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.1815, allocations: 420.5 kB / 287.7 MB, free: 19.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/0.1821, allocations: 0.7149 MB / 288.4 MB, free: 19.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1821, allocations: 3.969 kB / 288.4 MB, free: 19.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001281/0.1834, allocations: 1.056 MB / 289.5 MB, free: 19.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1834, allocations: 8.625 kB / 289.5 MB, free: 19.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1834, allocations: 9.062 kB / 289.5 MB, free: 19.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00098/0.1844, allocations: 0.519 MB / 290 MB, free: 19.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.185, allocations: 288 kB / 290.3 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/0.1882, allocations: 4.656 MB / 295 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.1888, allocations: 40.97 kB / 295 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.8e-05/0.1888, allocations: 42.58 kB / 295 MB, free: 15.81 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004939/0.1893, allocations: 189.4 kB / 295.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.1895, allocations: 157.1 kB / 295.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.1907, allocations: 0.9993 MB / 296.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.1907, allocations: 16 kB / 296.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1907, allocations: 4 kB / 296.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.1907, allocations: 14.48 kB / 296.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/0.1933, allocations: 2.25 MB / 298.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.1933, allocations: 4 kB / 298.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.1938, allocations: 222.1 kB / 298.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.194, allocations: 234.7 kB / 299.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000781/0.1948, allocations: 474.8 kB / 299.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/0.1949, allocations: 31.97 kB / 299.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.1974, allocations: 5.401 MB / 305 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.1974, allocations: 4 kB / 305 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.1988, allocations: 1.336 MB / 306.3 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.1989, allocations: 35.92 kB / 306.4 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.1993, allocations: 56.03 kB / 306.4 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.1994, allocations: 99.52 kB / 306.5 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.1995, allocations: 27.98 kB / 306.6 MB, free: 4.754 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004579/0.1999, allocations: 0.6657 MB / 307.2 MB, free: 4.168 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1999, allocations: 0 / 307.2 MB, free: 4.168 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001248/0.2012, allocations: 0.5039 MB / 307.7 MB, free: 3.664 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * 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,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001241/0.2024, allocations: 0.5763 MB / 308.3 MB, free: 3.355 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.2038, allocations: 1.173 MB / 309.5 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.843e-05/0.2038, allocations: 31.12 kB / 309.5 MB, free: 2.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007275/0.2045, allocations: 0.9143 MB / 310.4 MB, free: 1.219 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009825/0.2055, allocations: 0.509 MB / 310.9 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.2204, allocations: 4.158 MB / 315.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.2209, allocations: 0.5896 MB / 315.7 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006637/0.2216, allocations: 197.4 kB / 315.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005879/0.2222, allocations: 381.1 kB / 316.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of SimCode: time 1.754e-06/0.2222, allocations: 0 / 316.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of Templates: time 0.03886/0.2611, allocations: 29.44 MB / 345.7 MB, free: 14.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.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.8484168453142047]